#231E4A#231E4A

#231E4A is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.079 H 284.9°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#231E4A
RGBrgb(35, 30, 74)
HSLhsl(247, 42%, 20%)
HSVhsv(247, 59%, 29%)
CMYKcmyk(52.7%, 59.5%, 0%, 71%)
CIE-LABlab(14.29, 15.99, -26.72)
CIE-LCHlch(14.29, 31.14, 300.90°)
OKLaboklab(26.76% 0.0203 -0.0761)
OKLCHoklch(26.76% 0.079 284.9)
XYZxyz(2.3931, 1.7802, 6.6948)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E4A #454A1E
analogous
#1E2F4A #231E4A #391E4A
triadic
#231E4A #4A231E #1E4A23
tetradic
#231E4A #4A1E2F #454A1E #1E4A39
square
#231E4A #4A1E2F #454A1E #1E4A39
split-complementary
#231E4A #4A391E #2F4A1E
monochromatic
#0A0916 #0E0C1E #231E4A #383076 #4C41A1

Accessibility & contrast

On white

15.49
#231E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#231E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E4A
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E4A#FFFFFF#000000##FFFFFF
##231E4A1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07254C
Deuteranopia (green-blind)
#062349
Tritanopia (blue-blind)
#162830
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #231e4a;
/* rgb */ color: rgb(35, 30, 74);
/* oklch */ color: oklch(26.8% 0.079 284.9);
Tailwind
colors: {
  custom: {
    50: '#61597d',
    500: '#231e4a',
    950: '#000000',
  },
}
SCSS
$custom: #231e4a;
$custom-light: #61597d;
$custom-dark: #000000;
JSON
{
  "hex": "#231e4a",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 246.818,
    "s": 42.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2676,
    "c": 0.0788,
    "h": 284.9
  },
  "luminance": 0.0178
}

Semantic roles & 50–950 ramp

primary
#231E4A
secondary
#787F45
accent
#D256C4
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#050309
muted
#79787B

Preview Lab

Preview with #231E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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