#233F9E#233F9E

#233F9E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.158 H 266.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#233F9E
RGBrgb(35, 63, 158)
HSLhsl(226, 64%, 38%)
HSVhsv(226, 78%, 62%)
CMYKcmyk(77.8%, 60.1%, 0%, 38%)
CIE-LABlab(30.35, 25.03, -54.59)
CIE-LCHlch(30.35, 60.05, 294.63°)
OKLaboklab(40.9% -0.0093 -0.1577)
OKLCHoklch(40.9% 0.158 266.6)
XYZxyz(8.6400, 6.3800, 33.1172)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F9E #9E8223
analogous
#237D9E #233F9E #44239E
triadic
#233F9E #9E233F #3F9E23
tetradic
#233F9E #9E237D #9E8223 #239E44
square
#233F9E #9E237D #9E8223 #239E44
split-complementary
#233F9E #9E4423 #7D9E23
monochromatic
#0D173A #182B6C #233F9E #2E53D0 #607CDC

Accessibility & contrast

On white

9.23
#233F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#233F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F9E
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F9E#FFFFFF#000000##FFFFFF
##233F9E1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #233f9e;
/* rgb */ color: rgb(35, 63, 158);
/* oklch */ color: oklch(40.9% 0.158 266.6);
Tailwind
colors: {
  custom: {
    50: '#7273bb',
    500: '#233f9e',
    950: '#000000',
  },
}
SCSS
$custom: #233f9e;
$custom-light: #7273bb;
$custom-dark: #000000;
JSON
{
  "hex": "#233f9e",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 158
  },
  "hsl": {
    "h": 226.341,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.409,
    "c": 0.15796,
    "h": 266.6
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#233F9E
secondary
#C1AA5C
accent
#C141E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #233F9E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#233F9E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva