#232F8A#232F8A

#232F8A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.150 H 270.8°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#232F8A
RGBrgb(35, 47, 138)
HSLhsl(233, 60%, 34%)
HSVhsv(233, 75%, 54%)
CMYKcmyk(74.6%, 65.9%, 0%, 45.9%)
CIE-LABlab(24.40, 28.16, -52.03)
CIE-LCHlch(24.40, 59.16, 298.42°)
OKLaboklab(35.95% 0.002 -0.1504)
OKLCHoklch(35.95% 0.15 270.8)
XYZxyz(6.2955, 4.2247, 24.5235)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F8A #8A7E23
analogous
#23638A #232F8A #4B238A
triadic
#232F8A #8A232F #2F8A23
tetradic
#232F8A #8A2363 #8A7E23 #238A4B
square
#232F8A #8A2363 #8A7E23 #238A4B
split-complementary
#232F8A #8A4B23 #638A23
monochromatic
#0A0E28 #171E59 #232F8A #2F40BB #5463D4

Accessibility & contrast

On white

11.38
#232F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#232F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F8A
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F8A#FFFFFF#000000##FFFFFF
##232F8A1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #232f8a;
/* rgb */ color: rgb(35, 47, 138);
/* oklch */ color: oklch(36.0% 0.150 270.8);
Tailwind
colors: {
  custom: {
    50: '#6e67ad',
    500: '#232f8a',
    950: '#000000',
  },
}
SCSS
$custom: #232f8a;
$custom-light: #6e67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#232f8a",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 233.01,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35952,
    "c": 0.15037,
    "h": 270.8
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#232F8A
secondary
#B7AC51
accent
#D045E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #232F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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