#232771#232771

#232771 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.125 H 274.5°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#232771
RGBrgb(35, 39, 113)
HSLhsl(237, 53%, 29%)
HSVhsv(237, 69%, 44%)
CMYKcmyk(69%, 65.5%, 0%, 55.7%)
CIE-LABlab(20.04, 24.14, -43.32)
CIE-LCHlch(20.04, 49.59, 299.13°)
OKLaboklab(32.05% 0.0098 -0.1249)
OKLCHoklch(32.05% 0.125 274.5)
XYZxyz(4.3983, 3.0002, 15.9669)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232771 #716D23
analogous
#234E71 #232771 #462371
triadic
#232771 #712327 #277123
tetradic
#232771 #71234E #716D23 #237146
square
#232771 #71234E #716D23 #237146
split-complementary
#232771 #714623 #4E7123
monochromatic
#070817 #151742 #232771 #3137A0 #484FC6

Accessibility & contrast

On white

13.12
#232771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#232771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232771
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232771#FFFFFF#000000##FFFFFF
##2327711.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #232771;
/* rgb */ color: rgb(35, 39, 113);
/* oklch */ color: oklch(32.0% 0.125 274.5);
Tailwind
colors: {
  custom: {
    50: '#69619b',
    500: '#232771',
    950: '#000000',
  },
}
SCSS
$custom: #232771;
$custom-light: #69619b;
$custom-dark: #000000;
JSON
{
  "hex": "#232771",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 236.923,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32049,
    "c": 0.12528,
    "h": 274.5
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#232771
secondary
#A4A04C
accent
#D54CDC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232771

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

Preview Lab → · Contrast checker → · Palette generator →

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