#232F8E#232F8E

#232F8E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.156 H 270.7°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#232F8E
RGBrgb(35, 47, 142)
HSLhsl(233, 60%, 35%)
HSVhsv(233, 75%, 56%)
CMYKcmyk(75.4%, 66.9%, 0%, 44.3%)
CIE-LABlab(24.77, 29.67, -53.90)
CIE-LCHlch(24.77, 61.53, 298.83°)
OKLaboklab(36.34% 0.0018 -0.1558)
OKLCHoklch(36.34% 0.156 270.7)
XYZxyz(6.5905, 4.3427, 26.0768)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F8E #8E8223
analogous
#23658E #232F8E #4D238E
triadic
#232F8E #8E232F #2F8E23
tetradic
#232F8E #8E2365 #8E8223 #238E4D
square
#232F8E #8E2365 #8E8223 #238E4D
split-complementary
#232F8E #8E4D23 #658E23
monochromatic
#0B0E2C #171F5D #232F8E #2F3FBF #5664D5

Accessibility & contrast

On white

11.24
#232F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#232F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F8E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F8E#FFFFFF#000000##FFFFFF
##232F8E1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #232f8e;
/* rgb */ color: rgb(35, 47, 142);
/* oklch */ color: oklch(36.3% 0.156 270.7);
Tailwind
colors: {
  custom: {
    50: '#6f67b0',
    500: '#232f8e',
    950: '#000000',
  },
}
SCSS
$custom: #232f8e;
$custom-light: #6f67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#232f8e",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 233.271,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3634,
    "c": 0.15586,
    "h": 270.7
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#232F8E
secondary
#B9AE53
accent
#D244E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #232F8E

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

Preview Lab → · Contrast checker → · Palette generator →

#232F8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva