#232D7A#232D7A

#232D7A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.130 H 271.9°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#232D7A
RGBrgb(35, 45, 122)
HSLhsl(233, 55%, 31%)
HSVhsv(233, 71%, 48%)
CMYKcmyk(71.3%, 63.1%, 0%, 52.2%)
CIE-LABlab(22.44, 23.43, -45.17)
CIE-LCHlch(22.44, 50.89, 297.42°)
OKLaboklab(34.06% 0.0042 -0.1303)
OKLCHoklch(34.06% 0.13 271.9)
XYZxyz(5.1432, 3.6387, 18.8399)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232D7A #7A7023
analogous
#23587A #232D7A #44237A
triadic
#232D7A #7A232D #2D7A23
tetradic
#232D7A #7A2358 #7A7023 #237A44
square
#232D7A #7A2358 #7A7023 #237A44
split-complementary
#232D7A #7A4423 #587A23
monochromatic
#080A1B #151B4A #232D7A #313FAA #4C5ACC

Accessibility & contrast

On white

12.15
#232D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#232D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232D7A
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232D7A#FFFFFF#000000##FFFFFF
##232D7A1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232d7a;
/* rgb */ color: rgb(35, 45, 122);
/* oklch */ color: oklch(34.1% 0.130 271.9);
Tailwind
colors: {
  custom: {
    50: '#6a65a1',
    500: '#232d7a',
    950: '#000000',
  },
}
SCSS
$custom: #232d7a;
$custom-light: #6a65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#232d7a",
  "rgb": {
    "r": 35,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 233.103,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34063,
    "c": 0.13035,
    "h": 271.9
  },
  "luminance": 0.03639
}

Semantic roles & 50–950 ramp

primary
#232D7A
secondary
#ADA24C
accent
#CE49DF
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #232D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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