#231E7E#231E7E

#231E7E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.154 H 275.4°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#231E7E
RGBrgb(35, 30, 126)
HSLhsl(243, 62%, 31%)
HSVhsv(243, 76%, 49%)
CMYKcmyk(72.2%, 76.2%, 0%, 50.6%)
CIE-LABlab(19.19, 34.69, -53.04)
CIE-LCHlch(19.19, 63.38, 303.18°)
OKLaboklab(31.83% 0.0146 -0.1533)
OKLCHoklch(31.83% 0.154 275.4)
XYZxyz(4.9221, 2.7918, 20.0141)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E7E #797E1E
analogous
#1E497E #231E7E #531E7E
triadic
#231E7E #7E231E #1E7E23
tetradic
#231E7E #7E1E49 #797E1E #1E7E53
square
#231E7E #7E1E49 #797E1E #1E7E53
split-complementary
#231E7E #7E531E #497E1E
monochromatic
#08061B #15124D #231E7E #312AAF #4B44D2

Accessibility & contrast

On white

13.48
#231E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#231E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E7E
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E7E#FFFFFF#000000##FFFFFF
##231E7E1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231e7e;
/* rgb */ color: rgb(35, 30, 126);
/* oklch */ color: oklch(31.8% 0.154 275.4);
Tailwind
colors: {
  custom: {
    50: '#6d5ba4',
    500: '#231e7e',
    950: '#000000',
  },
}
SCSS
$custom: #231e7e;
$custom-light: #6d5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#231e7e",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 243.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31825,
    "c": 0.15403,
    "h": 275.4
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#231E7E
secondary
#ACB147
accent
#E543DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #231E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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