#231E5C#231E5C

#231E5C is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.3% C 0.107 H 280.8°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#231E5C
RGBrgb(35, 30, 92)
HSLhsl(245, 51%, 24%)
HSVhsv(245, 67%, 36%)
CMYKcmyk(62%, 67.4%, 0%, 63.9%)
CIE-LABlab(15.79, 22.53, -36.49)
CIE-LCHlch(15.79, 42.88, 301.69°)
OKLaboklab(28.34% 0.0199 -0.1049)
OKLCHoklch(28.34% 0.107 280.8)
XYZxyz(3.0886, 2.0584, 10.3577)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E5C #575C1E
analogous
#1E385C #231E5C #421E5C
triadic
#231E5C #5C231E #1E5C23
tetradic
#231E5C #5C1E38 #575C1E #1E5C42
square
#231E5C #5C1E38 #575C1E #1E5C42
split-complementary
#231E5C #5C421E #385C1E
monochromatic
#090817 #110F2E #231E5C #352D8A #463CB8

Accessibility & contrast

On white

14.87
#231E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#231E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E5C
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E5C#FFFFFF#000000##FFFFFF
##231E5C1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#00255B
Tritanopia (blue-blind)
#032D39
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231e5c;
/* rgb */ color: rgb(35, 30, 92);
/* oklch */ color: oklch(28.3% 0.107 280.8);
Tailwind
colors: {
  custom: {
    50: '#655a8b',
    500: '#231e5c',
    950: '#000000',
  },
}
SCSS
$custom: #231e5c;
$custom-light: #655a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#231e5c",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 92
  },
  "hsl": {
    "h": 244.839,
    "s": 50.82,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28343,
    "c": 0.10675,
    "h": 280.8
  },
  "luminance": 0.02059
}

Semantic roles & 50–950 ramp

primary
#231E5C
secondary
#8B9145
accent
#DA4DCF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #231E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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