#231E55#231E55

#231E55 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.7% C 0.096 H 282.2°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#231E55
RGBrgb(35, 30, 85)
HSLhsl(245, 48%, 23%)
HSVhsv(245, 65%, 33%)
CMYKcmyk(58.8%, 64.7%, 0%, 66.7%)
CIE-LABlab(15.18, 19.97, -32.78)
CIE-LCHlch(15.18, 38.39, 301.35°)
OKLaboklab(27.7% 0.0204 -0.094)
OKLCHoklch(27.7% 0.096 282.2)
XYZxyz(2.7966, 1.9416, 8.8200)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E55 #50551E
analogous
#1E3455 #231E55 #3F1E55
triadic
#231E55 #55231E #1E5523
tetradic
#231E55 #551E34 #50551E #1E553F
square
#231E55 #551E34 #50551E #1E553F
split-complementary
#231E55 #553F1E #34551E
monochromatic
#090817 #100E28 #231E55 #362E82 #483EAF

Accessibility & contrast

On white

15.13
#231E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231E55
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E55#FFFFFF#000000##FFFFFF
##231E551.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002857
Deuteranopia (green-blind)
#002454
Tritanopia (blue-blind)
#0D2B36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #231e55;
/* rgb */ color: rgb(35, 30, 85);
/* oklch */ color: oklch(27.7% 0.096 282.2);
Tailwind
colors: {
  custom: {
    50: '#635a85',
    500: '#231e55',
    950: '#000000',
  },
}
SCSS
$custom: #231e55;
$custom-light: #635a85;
$custom-dark: #000000;
JSON
{
  "hex": "#231e55",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 85
  },
  "hsl": {
    "h": 245.455,
    "s": 47.826,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27701,
    "c": 0.09617,
    "h": 282.2
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#231E55
secondary
#848A45
accent
#D750CB
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #231E55

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

Preview Lab → · Contrast checker → · Palette generator →

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