#231E59#231E59

#231E59 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.1% C 0.102 H 281.4°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#231E59
RGBrgb(35, 30, 89)
HSLhsl(245, 50%, 23%)
HSVhsv(245, 66%, 35%)
CMYKcmyk(60.7%, 66.3%, 0%, 65.1%)
CIE-LABlab(15.52, 21.43, -34.91)
CIE-LCHlch(15.52, 40.97, 301.54°)
OKLaboklab(28.06% 0.0201 -0.1003)
OKLCHoklch(28.06% 0.102 281.4)
XYZxyz(2.9600, 2.0070, 9.6807)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E59 #54591E
analogous
#1E3659 #231E59 #401E59
triadic
#231E59 #59231E #1E5923
tetradic
#231E59 #591E36 #54591E #1E5940
square
#231E59 #591E36 #54591E #1E5940
split-complementary
#231E59 #59401E #36591E
monochromatic
#090817 #110F2B #231E59 #352D87 #473DB5

Accessibility & contrast

On white

14.99
#231E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#231E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E59
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E59#FFFFFF#000000##FFFFFF
##231E591.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#072C38
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231e59;
/* rgb */ color: rgb(35, 30, 89);
/* oklch */ color: oklch(28.1% 0.102 281.4);
Tailwind
colors: {
  custom: {
    50: '#645a88',
    500: '#231e59',
    950: '#000000',
  },
}
SCSS
$custom: #231e59;
$custom-light: #645a88;
$custom-dark: #000000;
JSON
{
  "hex": "#231e59",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 89
  },
  "hsl": {
    "h": 245.085,
    "s": 49.58,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28064,
    "c": 0.10226,
    "h": 281.4
  },
  "luminance": 0.02007
}

Semantic roles & 50–950 ramp

primary
#231E59
secondary
#888E45
accent
#D94FCD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #231E59

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

Preview Lab → · Contrast checker → · Palette generator →

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