#232971#232971

#232971 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.123 H 273.7°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#232971
RGBrgb(35, 41, 113)
HSLhsl(235, 53%, 29%)
HSVhsv(235, 69%, 44%)
CMYKcmyk(69%, 63.7%, 0%, 55.7%)
CIE-LABlab(20.58, 22.76, -42.45)
CIE-LCHlch(20.58, 48.17, 298.20°)
OKLaboklab(32.44% 0.008 -0.1223)
OKLCHoklch(32.44% 0.123 273.7)
XYZxyz(4.4657, 3.1351, 15.9894)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232971 #716B23
analogous
#235071 #232971 #442371
triadic
#232971 #712329 #297123
tetradic
#232971 #712350 #716B23 #237144
square
#232971 #712350 #716B23 #237144
split-complementary
#232971 #714423 #507123
monochromatic
#070817 #151842 #232971 #313AA0 #4852C6

Accessibility & contrast

On white

12.91
#232971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#232971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232971
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232971#FFFFFF#000000##FFFFFF
##2329711.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232971;
/* rgb */ color: rgb(35, 41, 113);
/* oklch */ color: oklch(32.4% 0.123 273.7);
Tailwind
colors: {
  custom: {
    50: '#69629a',
    500: '#232971',
    950: '#000000',
  },
}
SCSS
$custom: #232971;
$custom-light: #69629a;
$custom-dark: #000000;
JSON
{
  "hex": "#232971",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 235.385,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32441,
    "c": 0.12259,
    "h": 273.7
  },
  "luminance": 0.03135
}

Semantic roles & 50–950 ramp

primary
#232971
secondary
#A49D4C
accent
#D14CDC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232971

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

Preview Lab → · Contrast checker → · Palette generator →

#232971 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva