#232E7A#232E7A

#232E7A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.129 H 271.5°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#232E7A
RGBrgb(35, 46, 122)
HSLhsl(232, 55%, 31%)
HSVhsv(232, 71%, 48%)
CMYKcmyk(71.3%, 62.3%, 0%, 52.2%)
CIE-LABlab(22.71, 22.74, -44.73)
CIE-LCHlch(22.71, 50.18, 296.95°)
OKLaboklab(34.26% 0.0034 -0.129)
OKLCHoklch(34.26% 0.129 271.5)
XYZxyz(5.1818, 3.7160, 18.8528)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232E7A #7A6F23
analogous
#23597A #232E7A #43237A
triadic
#232E7A #7A232E #2E7A23
tetradic
#232E7A #7A2359 #7A6F23 #237A43
square
#232E7A #7A2359 #7A6F23 #237A43
split-complementary
#232E7A #7A4323 #597A23
monochromatic
#080A1B #151C4A #232E7A #3140AA #4C5CCC

Accessibility & contrast

On white

12.05
#232E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#232E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232E7A
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232E7A#FFFFFF#000000##FFFFFF
##232E7A1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232e7a;
/* rgb */ color: rgb(35, 46, 122);
/* oklch */ color: oklch(34.3% 0.129 271.5);
Tailwind
colors: {
  custom: {
    50: '#6a66a1',
    500: '#232e7a',
    950: '#000000',
  },
}
SCSS
$custom: #232e7a;
$custom-light: #6a66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#232e7a",
  "rgb": {
    "r": 35,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 232.414,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34262,
    "c": 0.12901,
    "h": 271.5
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#232E7A
secondary
#ADA04C
accent
#CC49DF
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #232E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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