#231E56#231E56

#231E56 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.8% C 0.098 H 282.0°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#231E56
RGBrgb(35, 30, 86)
HSLhsl(245, 48%, 23%)
HSVhsv(245, 65%, 34%)
CMYKcmyk(59.3%, 65.1%, 0%, 66.3%)
CIE-LABlab(15.26, 20.34, -33.32)
CIE-LCHlch(15.26, 39.03, 301.40°)
OKLaboklab(27.79% 0.0203 -0.0956)
OKLCHoklch(27.79% 0.098 282)
XYZxyz(2.8366, 1.9576, 9.0307)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E56 #51561E
analogous
#1E3556 #231E56 #3F1E56
triadic
#231E56 #56231E #1E5623
tetradic
#231E56 #561E35 #51561E #1E563F
square
#231E56 #561E35 #51561E #1E563F
split-complementary
#231E56 #563F1E #35561E
monochromatic
#090817 #110E29 #231E56 #352E83 #483EB1

Accessibility & contrast

On white

15.09
#231E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231E56
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E56#FFFFFF#000000##FFFFFF
##231E561.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#0B2B36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #231e56;
/* rgb */ color: rgb(35, 30, 86);
/* oklch */ color: oklch(27.8% 0.098 282.0);
Tailwind
colors: {
  custom: {
    50: '#645a86',
    500: '#231e56',
    950: '#000000',
  },
}
SCSS
$custom: #231e56;
$custom-light: #645a86;
$custom-dark: #000000;
JSON
{
  "hex": "#231e56",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 245.357,
    "s": 48.276,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27791,
    "c": 0.0977,
    "h": 282
  },
  "luminance": 0.01958
}

Semantic roles & 50–950 ramp

primary
#231E56
secondary
#858B45
accent
#D850CC
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #231E56

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

Preview Lab → · Contrast checker → · Palette generator →

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