#232071#232071

#232071 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.134 H 276.7°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#232071
RGBrgb(35, 32, 113)
HSLhsl(242, 56%, 28%)
HSVhsv(242, 72%, 44%)
CMYKcmyk(69%, 71.7%, 0%, 55.7%)
CIE-LABlab(18.29, 28.83, -46.20)
CIE-LCHlch(18.29, 54.46, 301.97°)
OKLaboklab(30.77% 0.0156 -0.1334)
OKLCHoklch(30.77% 0.134 276.7)
XYZxyz(4.1893, 2.5822, 15.8972)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232071 #6E7120
analogous
#204571 #232071 #4B2071
triadic
#232071 #712320 #207123
tetradic
#232071 #712045 #6E7120 #20714B
square
#232071 #712045 #6E7120 #20714B
split-complementary
#232071 #714B20 #457120
monochromatic
#070718 #141241 #232071 #322EA1 #4742C9

Accessibility & contrast

On white

13.85
#232071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#232071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232071
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232071#FFFFFF#000000##FFFFFF
##2320711.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003073
Deuteranopia (green-blind)
#00296F
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #232071;
/* rgb */ color: rgb(35, 32, 113);
/* oklch */ color: oklch(30.8% 0.134 276.7);
Tailwind
colors: {
  custom: {
    50: '#695c9b',
    500: '#232071',
    950: '#000000',
  },
}
SCSS
$custom: #232071;
$custom-light: #695c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#232071",
  "rgb": {
    "r": 35,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 242.222,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3077,
    "c": 0.13426,
    "h": 276.7
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#232071
secondary
#A1A548
accent
#DF49DA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #232071

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

Preview Lab → · Contrast checker → · Palette generator →

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