#232497#232497

#232497 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.180 H 272.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#232497
RGBrgb(35, 36, 151)
HSLhsl(239, 62%, 36%)
HSVhsv(239, 77%, 59%)
CMYKcmyk(76.8%, 76.2%, 0%, 40.8%)
CIE-LABlab(23.18, 39.79, -62.09)
CIE-LCHlch(23.18, 73.74, 302.65°)
OKLaboklab(35.47% 0.0066 -0.1797)
OKLCHoklch(35.47% 0.18 272.1)
XYZxyz(6.9080, 3.8527, 29.6517)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232497 #979623
analogous
#235E97 #232497 #5C2397
triadic
#232497 #972324 #249723
tetradic
#232497 #97235E #979623 #23975C
square
#232497 #97235E #979623 #23975C
split-complementary
#232497 #975C23 #5E9723
monochromatic
#0C0C34 #171865 #232497 #2F30C9 #5B5CD9

Accessibility & contrast

On white

11.86
#232497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#232497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232497
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232497#FFFFFF#000000##FFFFFF
##2324971.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003195
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #232497;
/* rgb */ color: rgb(35, 36, 151);
/* oklch */ color: oklch(35.5% 0.180 272.1);
Tailwind
colors: {
  custom: {
    50: '#7260b7',
    500: '#232497',
    950: '#000000',
  },
}
SCSS
$custom: #232497;
$custom-light: #7260b7;
$custom-dark: #000000;
JSON
{
  "hex": "#232497",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 239.483,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35467,
    "c": 0.17983,
    "h": 272.1
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#232497
secondary
#BEBD58
accent
#E442E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232497

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

Preview Lab → · Contrast checker → · Palette generator →

#232497 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva