#232597#232597

#232597 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.179 H 272.0°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#232597
RGBrgb(35, 37, 151)
HSLhsl(239, 62%, 36%)
HSVhsv(239, 77%, 59%)
CMYKcmyk(76.8%, 75.5%, 0%, 40.8%)
CIE-LABlab(23.39, 39.20, -61.75)
CIE-LCHlch(23.39, 73.14, 302.41°)
OKLaboklab(35.61% 0.0062 -0.1787)
OKLCHoklch(35.61% 0.179 272)
XYZxyz(6.9387, 3.9141, 29.6620)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232597 #979523
analogous
#235F97 #232597 #5B2397
triadic
#232597 #972325 #259723
tetradic
#232597 #97235F #979523 #23975B
square
#232597 #97235F #979523 #23975B
split-complementary
#232597 #975B23 #5F9723
monochromatic
#0C0D34 #171965 #232597 #2F31C9 #5B5ED9

Accessibility & contrast

On white

11.78
#232597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#232597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232597
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232597#FFFFFF#000000##FFFFFF
##2325971.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232597;
/* rgb */ color: rgb(35, 37, 151);
/* oklch */ color: oklch(35.6% 0.179 272.0);
Tailwind
colors: {
  custom: {
    50: '#7261b7',
    500: '#232597',
    950: '#000000',
  },
}
SCSS
$custom: #232597;
$custom-light: #7261b7;
$custom-dark: #000000;
JSON
{
  "hex": "#232597",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 238.966,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35614,
    "c": 0.17884,
    "h": 272
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#232597
secondary
#BEBC58
accent
#E342E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232597

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

Preview Lab → · Contrast checker → · Palette generator →

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