#231E41#231E41

#231E41 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.064 H 287.7°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#231E41
RGBrgb(35, 30, 65)
HSLhsl(249, 37%, 19%)
HSVhsv(249, 54%, 25%)
CMYKcmyk(46.2%, 53.8%, 0%, 74.5%)
CIE-LABlab(13.64, 12.81, -21.52)
CIE-LCHlch(13.64, 25.04, 300.78°)
OKLaboklab(26.06% 0.0194 -0.0609)
OKLCHoklch(26.06% 0.064 287.7)
XYZxyz(2.1113, 1.6675, 5.2106)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E41 #3C411E
analogous
#1E2A41 #231E41 #341E41
triadic
#231E41 #41231E #1E4123
tetradic
#231E41 #411E2A #3C411E #1E4134
square
#231E41 #411E2A #3C411E #1E4134
split-complementary
#231E41 #41341E #2A411E
monochromatic
#0B0A15 #0C0B17 #231E41 #3A316B #504595

Accessibility & contrast

On white

15.75
#231E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#231E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E41
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E41#FFFFFF#000000##FFFFFF
##231E411.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112442
Deuteranopia (green-blind)
#102240
Tritanopia (blue-blind)
#1B252C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #231e41;
/* rgb */ color: rgb(35, 30, 65);
/* oklch */ color: oklch(26.1% 0.064 287.7);
Tailwind
colors: {
  custom: {
    50: '#605976',
    500: '#231e41',
    950: '#000000',
  },
}
SCSS
$custom: #231e41;
$custom-light: #605976;
$custom-dark: #000000;
JSON
{
  "hex": "#231e41",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 65
  },
  "hsl": {
    "h": 248.571,
    "s": 36.842,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2606,
    "c": 0.0639,
    "h": 287.7
  },
  "luminance": 0.01668
}

Semantic roles & 50–950 ramp

primary
#231E41
secondary
#6F7545
accent
#CD5BBD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#050308
muted
#79787B

Preview Lab

Preview with #231E41

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

Preview Lab → · Contrast checker → · Palette generator →

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