#231E4E#231E4E

#231E4E is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.1% C 0.085 H 283.9°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#231E4E
RGBrgb(35, 30, 78)
HSLhsl(246, 44%, 21%)
HSVhsv(246, 62%, 31%)
CMYKcmyk(55.1%, 61.5%, 0%, 69.4%)
CIE-LABlab(14.60, 17.43, -28.96)
CIE-LCHlch(14.60, 33.80, 301.05°)
OKLaboklab(27.09% 0.0204 -0.0827)
OKLCHoklch(27.09% 0.085 283.9)
XYZxyz(2.5321, 1.8358, 7.4272)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E4E #494E1E
analogous
#1E314E #231E4E #3B1E4E
triadic
#231E4E #4E231E #1E4E23
tetradic
#231E4E #4E1E31 #494E1E #1E4E3B
square
#231E4E #4E1E31 #494E1E #1E4E3B
split-complementary
#231E4E #4E3B1E #314E1E
monochromatic
#0A0916 #0F0D22 #231E4E #372F7A #4B40A6

Accessibility & contrast

On white

15.36
#231E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231E4E
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E4E#FFFFFF#000000##FFFFFF
##231E4E1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022650
Deuteranopia (green-blind)
#00234D
Tritanopia (blue-blind)
#132932
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #231e4e;
/* rgb */ color: rgb(35, 30, 78);
/* oklch */ color: oklch(27.1% 0.085 283.9);
Tailwind
colors: {
  custom: {
    50: '#625a80',
    500: '#231e4e',
    950: '#000000',
  },
}
SCSS
$custom: #231e4e;
$custom-light: #625a80;
$custom-dark: #000000;
JSON
{
  "hex": "#231e4e",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 246.25,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27092,
    "c": 0.08522,
    "h": 283.9
  },
  "luminance": 0.01836
}

Semantic roles & 50–950 ramp

primary
#231E4E
secondary
#7D8345
accent
#D454C7
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05030A
muted
#7A787C

Preview Lab

Preview with #231E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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