#232A7E#232A7E

#232A7E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.140 H 272.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#232A7E
RGBrgb(35, 42, 126)
HSLhsl(235, 57%, 32%)
HSVhsv(235, 72%, 49%)
CMYKcmyk(72.2%, 66.7%, 0%, 50.6%)
CIE-LABlab(22.01, 27.00, -48.41)
CIE-LCHlch(22.01, 55.43, 299.15°)
OKLaboklab(33.86% 0.0065 -0.1398)
OKLCHoklch(33.86% 0.14 272.6)
XYZxyz(5.2857, 3.5191, 20.1353)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A7E #7E7723
analogous
#23587E #232A7E #4A237E
triadic
#232A7E #7E232A #2A7E23
tetradic
#232A7E #7E2358 #7E7723 #237E4A
square
#232A7E #7E2358 #7E7723 #237E4A
split-complementary
#232A7E #7E4A23 #587E23
monochromatic
#080A1E #161A4E #232A7E #303AAE #4E58CE

Accessibility & contrast

On white

12.32
#232A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232A7E
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A7E#FFFFFF#000000##FFFFFF
##232A7E1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232a7e;
/* rgb */ color: rgb(35, 42, 126);
/* oklch */ color: oklch(33.9% 0.140 272.6);
Tailwind
colors: {
  custom: {
    50: '#6c63a4',
    500: '#232a7e',
    950: '#000000',
  },
}
SCSS
$custom: #232a7e;
$custom-light: #6c63a4;
$custom-dark: #000000;
JSON
{
  "hex": "#232a7e",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 235.385,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33861,
    "c": 0.13993,
    "h": 272.6
  },
  "luminance": 0.0352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #232A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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