#232A7D#232A7D

#232A7D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.139 H 272.7°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#232A7D
RGBrgb(35, 42, 125)
HSLhsl(235, 56%, 31%)
HSVhsv(235, 72%, 49%)
CMYKcmyk(72%, 66.4%, 0%, 51%)
CIE-LABlab(21.92, 26.62, -47.92)
CIE-LCHlch(21.92, 54.82, 299.05°)
OKLaboklab(33.76% 0.0065 -0.1384)
OKLCHoklch(33.76% 0.139 272.7)
XYZxyz(5.2215, 3.4934, 19.7972)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A7D #7D7623
analogous
#23577D #232A7D #49237D
triadic
#232A7D #7D232A #2A7D23
tetradic
#232A7D #7D2357 #7D7623 #237D49
square
#232A7D #7D2357 #7D7623 #237D49
split-complementary
#232A7D #7D4923 #577D23
monochromatic
#080A1D #161A4D #232A7D #303AAD #4D57CD

Accessibility & contrast

On white

12.36
#232A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#232A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A7D
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A7D#FFFFFF#000000##FFFFFF
##232A7D1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232a7d;
/* rgb */ color: rgb(35, 42, 125);
/* oklch */ color: oklch(33.8% 0.139 272.7);
Tailwind
colors: {
  custom: {
    50: '#6b63a3',
    500: '#232a7d',
    950: '#000000',
  },
}
SCSS
$custom: #232a7d;
$custom-light: #6b63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#232a7d",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 235.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33764,
    "c": 0.13852,
    "h": 272.7
  },
  "luminance": 0.03494
}

Semantic roles & 50–950 ramp

primary
#232A7D
secondary
#AFA84C
accent
#D448E0
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #232A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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