#232D7E#232D7E

#232D7E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.136 H 271.7°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#232D7E
RGBrgb(35, 45, 126)
HSLhsl(233, 57%, 32%)
HSVhsv(233, 72%, 49%)
CMYKcmyk(72.2%, 64.3%, 0%, 50.6%)
CIE-LABlab(22.79, 24.96, -47.13)
CIE-LCHlch(22.79, 53.33, 297.91°)
OKLaboklab(34.43% 0.0041 -0.136)
OKLCHoklch(34.43% 0.136 271.7)
XYZxyz(5.3961, 3.7399, 20.1721)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232D7E #7E7423
analogous
#235B7E #232D7E #47237E
triadic
#232D7E #7E232D #2D7E23
tetradic
#232D7E #7E235B #7E7423 #237E47
square
#232D7E #7E235B #7E7423 #237E47
split-complementary
#232D7E #7E4723 #5B7E23
monochromatic
#080B1E #161C4E #232D7E #303EAE #4E5CCE

Accessibility & contrast

On white

12.01
#232D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#232D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232D7E
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232D7E#FFFFFF#000000##FFFFFF
##232D7E1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232d7e;
/* rgb */ color: rgb(35, 45, 126);
/* oklch */ color: oklch(34.4% 0.136 271.7);
Tailwind
colors: {
  custom: {
    50: '#6b66a4',
    500: '#232d7e',
    950: '#000000',
  },
}
SCSS
$custom: #232d7e;
$custom-light: #6b66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#232d7e",
  "rgb": {
    "r": 35,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 233.407,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34433,
    "c": 0.13609,
    "h": 271.7
  },
  "luminance": 0.0374
}

Semantic roles & 50–950 ramp

primary
#232D7E
secondary
#B0A54C
accent
#CF48E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #232D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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