#231E6A#231E6A

#231E6A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.127 H 278.3°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#231E6A
RGBrgb(35, 30, 106)
HSLhsl(244, 56%, 27%)
HSVhsv(244, 72%, 42%)
CMYKcmyk(67%, 71.7%, 0%, 58.4%)
CIE-LABlab(17.11, 27.61, -43.57)
CIE-LCHlch(17.11, 51.58, 302.36°)
OKLaboklab(29.71% 0.0182 -0.1257)
OKLCHoklch(29.71% 0.127 278.3)
XYZxyz(3.7581, 2.3262, 13.8838)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E6A #656A1E
analogous
#1E3F6A #231E6A #491E6A
triadic
#231E6A #6A231E #1E6A23
tetradic
#231E6A #6A1E3F #656A1E #1E6A49
square
#231E6A #6A1E3F #656A1E #1E6A49
split-complementary
#231E6A #6A491E #3F6A1E
monochromatic
#080718 #13113A #231E6A #332C9A #443BC7

Accessibility & contrast

On white

14.33
#231E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#231E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E6A
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E6A#FFFFFF#000000##FFFFFF
##231E6A1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#003241
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231e6a;
/* rgb */ color: rgb(35, 30, 106);
/* oklch */ color: oklch(29.7% 0.127 278.3);
Tailwind
colors: {
  custom: {
    50: '#685a95',
    500: '#231e6a',
    950: '#000000',
  },
}
SCSS
$custom: #231e6a;
$custom-light: #685a95;
$custom-dark: #000000;
JSON
{
  "hex": "#231e6a",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 106
  },
  "hsl": {
    "h": 243.947,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29712,
    "c": 0.12699,
    "h": 278.3
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#231E6A
secondary
#999E45
accent
#DF49D5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #231E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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