#231E52#231E52

#231E52 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.092 H 282.9°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#231E52
RGBrgb(35, 30, 82)
HSLhsl(246, 46%, 22%)
HSVhsv(246, 63%, 32%)
CMYKcmyk(57.3%, 63.4%, 0%, 67.8%)
CIE-LABlab(14.93, 18.88, -31.16)
CIE-LCHlch(14.93, 36.43, 301.22°)
OKLaboklab(27.44% 0.0204 -0.0892)
OKLCHoklch(27.44% 0.092 282.9)
XYZxyz(2.6799, 1.8949, 8.2055)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E52 #4D521E
analogous
#1E3352 #231E52 #3D1E52
triadic
#231E52 #52231E #1E5223
tetradic
#231E52 #521E33 #4D521E #1E523D
square
#231E52 #521E33 #4D521E #1E523D
split-complementary
#231E52 #523D1E #33521E
monochromatic
#0A0816 #100E25 #231E52 #362E7F #493FAC

Accessibility & contrast

On white

15.23
#231E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#231E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E52
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E52#FFFFFF#000000##FFFFFF
##231E521.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#102A34
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #231e52;
/* rgb */ color: rgb(35, 30, 82);
/* oklch */ color: oklch(27.4% 0.092 282.9);
Tailwind
colors: {
  custom: {
    50: '#635a83',
    500: '#231e52',
    950: '#000000',
  },
}
SCSS
$custom: #231e52;
$custom-light: #635a83;
$custom-dark: #000000;
JSON
{
  "hex": "#231e52",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 245.769,
    "s": 46.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27436,
    "c": 0.09152,
    "h": 282.9
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#231E52
secondary
#818745
accent
#D652C9
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05030A
muted
#7A787C

Preview Lab

Preview with #231E52

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

Preview Lab → · Contrast checker → · Palette generator →

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