#231E50#231E50

#231E50 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.088 H 283.4°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#231E50
RGBrgb(35, 30, 80)
HSLhsl(246, 45%, 22%)
HSVhsv(246, 63%, 31%)
CMYKcmyk(56.3%, 62.5%, 0%, 68.6%)
CIE-LABlab(14.76, 18.16, -30.06)
CIE-LCHlch(14.76, 35.12, 301.13°)
OKLaboklab(27.26% 0.0204 -0.086)
OKLCHoklch(27.26% 0.088 283.4)
XYZxyz(2.6049, 1.8649, 7.8106)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E50 #4B501E
analogous
#1E3250 #231E50 #3C1E50
triadic
#231E50 #50231E #1E5023
tetradic
#231E50 #501E32 #4B501E #1E503C
square
#231E50 #501E32 #4B501E #1E503C
split-complementary
#231E50 #503C1E #32501E
monochromatic
#0A0816 #100D23 #231E50 #362F7D #4A3FA9

Accessibility & contrast

On white

15.29
#231E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#231E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E50
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E50#FFFFFF#000000##FFFFFF
##231E501.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002752
Deuteranopia (green-blind)
#00244F
Tritanopia (blue-blind)
#112933
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #231e50;
/* rgb */ color: rgb(35, 30, 80);
/* oklch */ color: oklch(27.3% 0.088 283.4);
Tailwind
colors: {
  custom: {
    50: '#625a81',
    500: '#231e50',
    950: '#000000',
  },
}
SCSS
$custom: #231e50;
$custom-light: #625a81;
$custom-dark: #000000;
JSON
{
  "hex": "#231e50",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 80
  },
  "hsl": {
    "h": 246,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.27262,
    "c": 0.08839,
    "h": 283.4
  },
  "luminance": 0.01865
}

Semantic roles & 50–950 ramp

primary
#231E50
secondary
#7F8545
accent
#D553C8
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05030A
muted
#7A787C

Preview Lab

Preview with #231E50

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

Preview Lab → · Contrast checker → · Palette generator →

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