#231E54#231E54

#231E54 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.6% C 0.095 H 282.4°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#231E54
RGBrgb(35, 30, 84)
HSLhsl(246, 47%, 22%)
HSVhsv(246, 64%, 33%)
CMYKcmyk(58.3%, 64.3%, 0%, 67.1%)
CIE-LABlab(15.09, 19.61, -32.24)
CIE-LCHlch(15.09, 37.74, 301.31°)
OKLaboklab(27.61% 0.0204 -0.0924)
OKLCHoklch(27.61% 0.095 282.4)
XYZxyz(2.7572, 1.9258, 8.6122)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E54 #4F541E
analogous
#1E3454 #231E54 #3E1E54
triadic
#231E54 #54231E #1E5423
tetradic
#231E54 #541E34 #4F541E #1E543E
square
#231E54 #541E34 #4F541E #1E543E
split-complementary
#231E54 #543E1E #34541E
monochromatic
#090817 #100E27 #231E54 #362E81 #493EAE

Accessibility & contrast

On white

15.16
#231E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231E54
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E54#FFFFFF#000000##FFFFFF
##231E541.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002856
Deuteranopia (green-blind)
#002453
Tritanopia (blue-blind)
#0E2B35
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #231e54;
/* rgb */ color: rgb(35, 30, 84);
/* oklch */ color: oklch(27.6% 0.095 282.4);
Tailwind
colors: {
  custom: {
    50: '#635a85',
    500: '#231e54',
    950: '#000000',
  },
}
SCSS
$custom: #231e54;
$custom-light: #635a85;
$custom-dark: #000000;
JSON
{
  "hex": "#231e54",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 245.556,
    "s": 47.368,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27612,
    "c": 0.09463,
    "h": 282.4
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#231E54
secondary
#838945
accent
#D751CB
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #231E54

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

Preview Lab → · Contrast checker → · Palette generator →

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