#231B62#231B62

#231B62 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.4% C 0.120 H 280.7°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#231B62
RGBrgb(35, 27, 98)
HSLhsl(247, 57%, 25%)
HSVhsv(247, 72%, 38%)
CMYKcmyk(64.3%, 72.4%, 0%, 61.6%)
CIE-LABlab(15.61, 26.70, -40.78)
CIE-LCHlch(15.61, 48.74, 303.21°)
OKLaboklab(28.38% 0.0221 -0.1175)
OKLCHoklch(28.38% 0.12 280.7)
XYZxyz(3.2890, 2.0228, 11.7700)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B62 #5A621B
analogous
#1B3662 #231B62 #471B62
triadic
#231B62 #62231B #1B6223
tetradic
#231B62 #621B36 #5A621B #1B6247
square
#231B62 #621B36 #5A621B #1B6247
split-complementary
#231B62 #62471B #36621B
monochromatic
#090718 #120E32 #231B62 #342892 #4535C2

Accessibility & contrast

On white

14.95
#231B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#231B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B62
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B62#FFFFFF#000000##FFFFFF
##231B621.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002964
Deuteranopia (green-blind)
#002461
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231b62;
/* rgb */ color: rgb(35, 27, 98);
/* oklch */ color: oklch(28.4% 0.120 280.7);
Tailwind
colors: {
  custom: {
    50: '#66588f',
    500: '#231b62',
    950: '#000000',
  },
}
SCSS
$custom: #231b62;
$custom-light: #66588f;
$custom-dark: #000000;
JSON
{
  "hex": "#231b62",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 98
  },
  "hsl": {
    "h": 246.761,
    "s": 56.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28384,
    "c": 0.11956,
    "h": 280.7
  },
  "luminance": 0.02023
}

Semantic roles & 50–950 ramp

primary
#231B62
secondary
#8E9841
accent
#E048CF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #231B62

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

Preview Lab → · Contrast checker → · Palette generator →

#231B62 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva