Skip to content

#233f99

a dark, vivid blue · cool · closest name: Dark Slate Blue

RGB
35, 63, 153
HSL
226°, 63%, 37%
CMYK
77, 59, 0, 40
Luminance
0.0621

At a glance

Every number on this page in one read: what #233f99 is made of, how bright it looks, and which way it leans.

Hex
#233f99
Hue
226°
blue
Saturation
63%
vivid
Lightness
37%
dark
Brightness
60%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0621
WCAG relative
Temperature
Cool
91/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
9.36:1
Closest name
Dark Slate Blue
ΔE2000 6.8
Where it sits
Hue226° of 360°
Saturation63%
Lightness37%
Temperature
Warm ← → Cool91% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#233f99
RGBrgb(35, 63, 153)
HSLhsl(226, 63%, 37%)
CMYKcmyk(77%, 59%, 0%, 40%)
LABlab(29.9 23.1 -52.2)
LCHlch(29.9 57.1 293.8)
OKLCHoklch(0.405 0.151 266.4)
Decimal2310041
Display P3color(display-p3 0.137 0.247 0.600)

Copy-ready code

/* CSS */
color: #233f99;
background-color: #233f99;
/* Tailwind (arbitrary) */
class="text-[#233f99] bg-[#233f99]"
/* SCSS */
$brand: #233f99;
/* SwiftUI */
Color(red: 0.137, green: 0.247, blue: 0.600)
/* Android */
Color.parseColor("#233f99")
/* Flutter */
Color(0xFF233F99)
/* Python / OpenCV (BGR) */
(153, 63, 35)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #233f99 · 9.36:1
Use #ffffffAAA at every size.
Aa
White text · 9.36:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.24:1
AA fail · AA large fail · AAA fail
Reading the other direction: #233f99 as text scores 9.36:1 on white and 2.24:1 on black.

Accessibility — WCAG contrast

Aa
#233f99 on white: 9.36:1
AA ✓ pass · AA-large · AAA
Aa
#233f99 on black: 2.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004C9C
deuteranopia · #004197
tritanopia · #005665

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #233f99 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F5FB
#E8ECF7
#CCD4F0
#A4B4EA
#768FE0
#486AD5
#2E52C7
#233f99
#1E3785
#1A2B61
#101B3C
Base = 700Lightest = 50 · #F4F5FBDarkest = 950 · #101B3C
:root {
  --brand-50: #F4F5FB;
  --brand-100: #E8ECF7;
  --brand-200: #CCD4F0;
  --brand-300: #A4B4EA;
  --brand-400: #768FE0;
  --brand-500: #486AD5;
  --brand-600: #2E52C7;
  --brand-700: #233f99;
  --brand-800: #1E3785;
  --brand-900: #1A2B61;
  --brand-950: #101B3C;
  --brand: #233f99;
  --brand-ink: #ffffff;
}

Colors that work with #233f99

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F6FA
Tinted page background
Border#C0CAED
Hairlines and dividers
Muted text#4B5E9B
Captions on the surface
Accent#9D601F
Second voice, not a rival
Dark variant#182B68
Hover, pressed, headers
Light variant#EAEEFA
Selected rows, tints
Dark surface#141824
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #233f99

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#997D23
Analogous left#237A99
Analogous right#422399
Split-complement 1#994223
Split-complement 2#7A9923
Triadic 1#99233F
Triadic 2#3F9923
Tetradic#99237A

RGB percentages

Red13.7%
Green24.7%
Blue60.0%

CMYK percentages

Cyan77.1%
Magenta58.8%
Yellow0.0%
Key (black)40.0%

Color previews

#233f99 text on a black background

contrast 2.24:1

Card sample

#233f99 text on a white background

contrast 9.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #233f99;
Background color
Panel with #233f99 background
background-color: #233f99;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #233f99;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(35, 63, 153, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(35, 63, 153, 0.45);
Border & gradient
Gradient panel
border: 3px solid #233f99;
background: linear-gradient(135deg, #233f99, #562399);

Monochromatic scale

Palettes built from #233f99

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#233f99 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#233f99, answered

What color is #233f99?

#233f99 is a dark vivid blue, closest to Dark Slate Blue (ΔE2000 6.8). It sits at 226° on the hue wheel with 63% saturation and 37% lightness, which reads as cool.

What is the RGB value of #233f99?

rgb(35, 63, 153) — 35 red, 63 green and 153 blue out of 255, or 13.7% / 24.7% / 60% by channel.

Is #233f99 a light or a dark color?

It is a dark color. Relative luminance is 0.0621 and perceived brightness is 29%, so white text on it reaches 9.36:1.

Should I use black or white text on #233f99?

White. It scores 9.36:1 against #233f99, versus 2.24:1 for black — AAA at any size.

What is the complementary color of #233f99?

#997D23 sits directly opposite on the wheel. Softer options are the split-complements #994223 and #7A9923, which give the same contrast with far less vibration.

What colors go well with #233f99?

For interface work: #F4F6FA as the surface, #C0CAED for borders, #4B5E9B for secondary text, #9D601F as an accent and #182B68 for hover and pressed states. For a palette, the analogous pair #237A99 and #422399 stays calm, while #997D23 is the loudest partner.

What is #233f99 in CMYK for printing?

cmyk(77%, 59%, 0%, 40%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #233f99 warm or cool?

Cool — it scores 91 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #322399; nudged cooler, #21509B.

Work with #233f99 in the Color Lab