#232A7C#232A7C

#232A7C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.137 H 272.8°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#232A7C
RGBrgb(35, 42, 124)
HSLhsl(235, 56%, 31%)
HSVhsv(235, 72%, 49%)
CMYKcmyk(71.8%, 66.1%, 0%, 51.4%)
CIE-LABlab(21.83, 26.25, -47.44)
CIE-LCHlch(21.83, 54.22, 298.95°)
OKLaboklab(33.67% 0.0066 -0.137)
OKLCHoklch(33.67% 0.137 272.8)
XYZxyz(5.1580, 3.4680, 19.4624)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A7C #7C7523
analogous
#23567C #232A7C #48237C
triadic
#232A7C #7C232A #2A7C23
tetradic
#232A7C #7C2356 #7C7523 #237C48
square
#232A7C #7C2356 #7C7523 #237C48
split-complementary
#232A7C #7C4823 #567C23
monochromatic
#080A1D #161A4C #232A7C #303AAC #4D57CD

Accessibility & contrast

On white

12.40
#232A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#232A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A7C
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A7C#FFFFFF#000000##FFFFFF
##232A7C1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232a7c;
/* rgb */ color: rgb(35, 42, 124);
/* oklch */ color: oklch(33.7% 0.137 272.8);
Tailwind
colors: {
  custom: {
    50: '#6b63a3',
    500: '#232a7c',
    950: '#000000',
  },
}
SCSS
$custom: #232a7c;
$custom-light: #6b63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#232a7c",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 235.281,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33668,
    "c": 0.13712,
    "h": 272.8
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#232A7C
secondary
#AFA74C
accent
#D349DF
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #232A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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