#232B97#232B97

#232B97 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.172 H 271.1°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#232B97
RGBrgb(35, 43, 151)
HSLhsl(236, 62%, 36%)
HSVhsv(236, 77%, 59%)
CMYKcmyk(76.8%, 71.5%, 0%, 40.8%)
CIE-LABlab(24.70, 35.56, -59.58)
CIE-LCHlch(24.70, 69.38, 300.83°)
OKLaboklab(36.55% 0.0032 -0.1724)
OKLCHoklch(36.55% 0.172 271.1)
XYZxyz(7.1410, 4.3187, 29.7294)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232B97 #978F23
analogous
#236597 #232B97 #552397
triadic
#232B97 #97232B #2B9723
tetradic
#232B97 #972365 #978F23 #239755
square
#232B97 #972365 #978F23 #239755
split-complementary
#232B97 #975523 #659723
monochromatic
#0C0F34 #171D65 #232B97 #2F39C9 #5B64D9

Accessibility & contrast

On white

11.27
#232B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#232B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232B97
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232B97#FFFFFF#000000##FFFFFF
##232B971.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #232b97;
/* rgb */ color: rgb(35, 43, 151);
/* oklch */ color: oklch(36.6% 0.172 271.1);
Tailwind
colors: {
  custom: {
    50: '#7265b7',
    500: '#232b97',
    950: '#000000',
  },
}
SCSS
$custom: #232b97;
$custom-light: #7265b7;
$custom-dark: #000000;
JSON
{
  "hex": "#232b97",
  "rgb": {
    "r": 35,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 235.862,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36553,
    "c": 0.17248,
    "h": 271.1
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

primary
#232B97
secondary
#BEB758
accent
#DA42E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #232B97

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

Preview Lab → · Contrast checker → · Palette generator →

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