#232A71#232A71

#232A71 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.121 H 273.3°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#232A71
RGBrgb(35, 42, 113)
HSLhsl(235, 53%, 29%)
HSVhsv(235, 69%, 44%)
CMYKcmyk(69%, 62.8%, 0%, 55.7%)
CIE-LABlab(20.85, 22.07, -42.01)
CIE-LCHlch(20.85, 47.45, 297.71°)
OKLaboklab(32.64% 0.0071 -0.121)
OKLCHoklch(32.64% 0.121 273.3)
XYZxyz(4.5007, 3.2051, 16.0010)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A71 #716A23
analogous
#235171 #232A71 #432371
triadic
#232A71 #71232A #2A7123
tetradic
#232A71 #712351 #716A23 #237143
square
#232A71 #712351 #716A23 #237143
split-complementary
#232A71 #714323 #517123
monochromatic
#070917 #151942 #232A71 #313BA0 #4853C6

Accessibility & contrast

On white

12.80
#232A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#232A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A71
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A71#FFFFFF#000000##FFFFFF
##232A711.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232a71;
/* rgb */ color: rgb(35, 42, 113);
/* oklch */ color: oklch(32.6% 0.121 273.3);
Tailwind
colors: {
  custom: {
    50: '#68639a',
    500: '#232a71',
    950: '#000000',
  },
}
SCSS
$custom: #232a71;
$custom-light: #68639a;
$custom-dark: #000000;
JSON
{
  "hex": "#232a71",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 234.615,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32641,
    "c": 0.12124,
    "h": 273.3
  },
  "luminance": 0.03206
}

Semantic roles & 50–950 ramp

primary
#232A71
secondary
#A49C4C
accent
#CF4CDC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232A71

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

Preview Lab → · Contrast checker → · Palette generator →

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