#231E58#231E58

#231E58 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.101 H 281.6°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#231E58
RGBrgb(35, 30, 88)
HSLhsl(245, 49%, 23%)
HSVhsv(245, 66%, 35%)
CMYKcmyk(60.2%, 65.9%, 0%, 65.5%)
CIE-LABlab(15.44, 21.07, -34.38)
CIE-LCHlch(15.44, 40.32, 301.49°)
OKLaboklab(27.97% 0.0202 -0.0987)
OKLCHoklch(27.97% 0.101 281.6)
XYZxyz(2.9183, 1.9903, 9.4610)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E58 #53581E
analogous
#1E3658 #231E58 #401E58
triadic
#231E58 #58231E #1E5823
tetradic
#231E58 #581E36 #53581E #1E5840
square
#231E58 #581E36 #53581E #1E5840
split-complementary
#231E58 #58401E #36581E
monochromatic
#090817 #110E2A #231E58 #352E86 #473DB3

Accessibility & contrast

On white

15.02
#231E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231E58
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E58#FFFFFF#000000##FFFFFF
##231E581.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#002457
Tritanopia (blue-blind)
#092C37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231e58;
/* rgb */ color: rgb(35, 30, 88);
/* oklch */ color: oklch(28.0% 0.101 281.6);
Tailwind
colors: {
  custom: {
    50: '#645a88',
    500: '#231e58',
    950: '#000000',
  },
}
SCSS
$custom: #231e58;
$custom-light: #645a88;
$custom-dark: #000000;
JSON
{
  "hex": "#231e58",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 245.172,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27972,
    "c": 0.10075,
    "h": 281.6
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#231E58
secondary
#878D45
accent
#D94FCD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #231E58

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

Preview Lab → · Contrast checker → · Palette generator →

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