#231E57#231E57

#231E57 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.099 H 281.8°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#231E57
RGBrgb(35, 30, 87)
HSLhsl(245, 49%, 23%)
HSVhsv(245, 66%, 34%)
CMYKcmyk(59.8%, 65.5%, 0%, 65.9%)
CIE-LABlab(15.35, 20.70, -33.85)
CIE-LCHlch(15.35, 39.68, 301.45°)
OKLaboklab(27.88% 0.0203 -0.0971)
OKLCHoklch(27.88% 0.099 281.8)
XYZxyz(2.8772, 1.9738, 9.2444)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E57 #52571E
analogous
#1E3557 #231E57 #3F1E57
triadic
#231E57 #57231E #1E5723
tetradic
#231E57 #571E35 #52571E #1E573F
square
#231E57 #571E35 #52571E #1E573F
split-complementary
#231E57 #573F1E #35571E
monochromatic
#090817 #110E29 #231E57 #352E85 #483DB2

Accessibility & contrast

On white

15.06
#231E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#231E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E57
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E57#FFFFFF#000000##FFFFFF
##231E571.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#002456
Tritanopia (blue-blind)
#0A2C37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #231e57;
/* rgb */ color: rgb(35, 30, 87);
/* oklch */ color: oklch(27.9% 0.099 281.8);
Tailwind
colors: {
  custom: {
    50: '#645a87',
    500: '#231e57',
    950: '#000000',
  },
}
SCSS
$custom: #231e57;
$custom-light: #645a87;
$custom-dark: #000000;
JSON
{
  "hex": "#231e57",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 87
  },
  "hsl": {
    "h": 245.263,
    "s": 48.718,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27881,
    "c": 0.09923,
    "h": 281.8
  },
  "luminance": 0.01974
}

Semantic roles & 50–950 ramp

primary
#231E57
secondary
#868C45
accent
#D850CC
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #231E57

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

Preview Lab → · Contrast checker → · Palette generator →

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