#231E4F#231E4F

#231E4F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.2% C 0.087 H 283.6°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#231E4F
RGBrgb(35, 30, 79)
HSLhsl(246, 45%, 21%)
HSVhsv(246, 62%, 31%)
CMYKcmyk(55.7%, 62%, 0%, 69%)
CIE-LABlab(14.68, 17.80, -29.51)
CIE-LCHlch(14.68, 34.46, 301.09°)
OKLaboklab(27.18% 0.0204 -0.0844)
OKLCHoklch(27.18% 0.087 283.6)
XYZxyz(2.5683, 1.8502, 7.6174)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E4F #4A4F1E
analogous
#1E324F #231E4F #3C1E4F
triadic
#231E4F #4F231E #1E4F23
tetradic
#231E4F #4F1E32 #4A4F1E #1E4F3C
square
#231E4F #4F1E32 #4A4F1E #1E4F3C
split-complementary
#231E4F #4F3C1E #324F1E
monochromatic
#0A0816 #0F0D23 #231E4F #372F7B #4A40A8

Accessibility & contrast

On white

15.33
#231E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#231E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E4F
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E4F#FFFFFF#000000##FFFFFF
##231E4F1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012751
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#122933
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #231e4f;
/* rgb */ color: rgb(35, 30, 79);
/* oklch */ color: oklch(27.2% 0.087 283.6);
Tailwind
colors: {
  custom: {
    50: '#625a81',
    500: '#231e4f',
    950: '#000000',
  },
}
SCSS
$custom: #231e4f;
$custom-light: #625a81;
$custom-dark: #000000;
JSON
{
  "hex": "#231e4f",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 246.122,
    "s": 44.954,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27177,
    "c": 0.08681,
    "h": 283.6
  },
  "luminance": 0.0185
}

Semantic roles & 50–950 ramp

primary
#231E4F
secondary
#7E8445
accent
#D553C7
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05030A
muted
#7A787C

Preview Lab

Preview with #231E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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