#232E97#232E97

#232E97 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.169 H 270.5°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#232E97
RGBrgb(35, 46, 151)
HSLhsl(234, 62%, 36%)
HSVhsv(234, 77%, 59%)
CMYKcmyk(76.8%, 69.5%, 0%, 40.8%)
CIE-LABlab(25.40, 33.65, -58.43)
CIE-LCHlch(25.40, 67.43, 299.94°)
OKLaboklab(37.06% 0.0016 -0.1691)
OKLCHoklch(37.06% 0.169 270.5)
XYZxyz(7.2541, 4.5449, 29.7671)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232E97 #978C23
analogous
#236897 #232E97 #522397
triadic
#232E97 #97232E #2E9723
tetradic
#232E97 #972368 #978C23 #239752
square
#232E97 #972368 #978C23 #239752
split-complementary
#232E97 #975223 #689723
monochromatic
#0C1034 #171F65 #232E97 #2F3DC9 #5B67D9

Accessibility & contrast

On white

11.00
#232E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#232E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232E97
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232E97#FFFFFF#000000##FFFFFF
##232E971.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #232e97;
/* rgb */ color: rgb(35, 46, 151);
/* oklch */ color: oklch(37.1% 0.169 270.5);
Tailwind
colors: {
  custom: {
    50: '#7167b7',
    500: '#232e97',
    950: '#000000',
  },
}
SCSS
$custom: #232e97;
$custom-light: #7167b7;
$custom-dark: #000000;
JSON
{
  "hex": "#232e97",
  "rgb": {
    "r": 35,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 234.31,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37058,
    "c": 0.1691,
    "h": 270.5
  },
  "luminance": 0.04546
}

Semantic roles & 50–950 ramp

primary
#232E97
secondary
#BEB458
accent
#D642E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #232E97

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

Preview Lab → · Contrast checker → · Palette generator →

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