#231E7A#231E7A

#231E7A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.149 H 275.9°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#231E7A
RGBrgb(35, 30, 122)
HSLhsl(243, 61%, 30%)
HSVhsv(243, 75%, 48%)
CMYKcmyk(71.3%, 75.4%, 0%, 52.2%)
CIE-LABlab(18.76, 33.29, -51.20)
CIE-LCHlch(18.76, 61.08, 303.03°)
OKLaboklab(31.39% 0.0154 -0.148)
OKLCHoklch(31.39% 0.149 275.9)
XYZxyz(4.6691, 2.6906, 18.6819)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E7A #757A1E
analogous
#1E477A #231E7A #511E7A
triadic
#231E7A #7A231E #1E7A23
tetradic
#231E7A #7A1E47 #757A1E #1E7A51
square
#231E7A #7A1E47 #757A1E #1E7A51
split-complementary
#231E7A #7A511E #477A1E
monochromatic
#070619 #151249 #231E7A #312AAB #4A42D0

Accessibility & contrast

On white

13.65
#231E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#231E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E7A
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E7A#FFFFFF#000000##FFFFFF
##231E7A1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231e7a;
/* rgb */ color: rgb(35, 30, 122);
/* oklch */ color: oklch(31.4% 0.149 275.9);
Tailwind
colors: {
  custom: {
    50: '#6c5ba1',
    500: '#231e7a',
    950: '#000000',
  },
}
SCSS
$custom: #231e7a;
$custom-light: #6c5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#231e7a",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 243.261,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3139,
    "c": 0.14878,
    "h": 275.9
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#231E7A
secondary
#A8AE46
accent
#E444DB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #231E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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