#232671#232671

#232671 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.127 H 274.8°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#232671
RGBrgb(35, 38, 113)
HSLhsl(238, 53%, 29%)
HSVhsv(238, 69%, 44%)
CMYKcmyk(69%, 66.4%, 0%, 55.7%)
CIE-LABlab(19.78, 24.83, -43.75)
CIE-LCHlch(19.78, 50.30, 299.58°)
OKLaboklab(31.86% 0.0106 -0.1262)
OKLCHoklch(31.86% 0.127 274.8)
XYZxyz(4.3659, 2.9354, 15.9561)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232671 #716E23
analogous
#234D71 #232671 #472371
triadic
#232671 #712326 #267123
tetradic
#232671 #71234D #716E23 #237147
square
#232671 #71234D #716E23 #237147
split-complementary
#232671 #714723 #4D7123
monochromatic
#070817 #151642 #232671 #3136A0 #484DC6

Accessibility & contrast

On white

13.23
#232671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#232671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232671
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232671#FFFFFF#000000##FFFFFF
##2326711.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#002C70
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #232671;
/* rgb */ color: rgb(35, 38, 113);
/* oklch */ color: oklch(31.9% 0.127 274.8);
Tailwind
colors: {
  custom: {
    50: '#69609b',
    500: '#232671',
    950: '#000000',
  },
}
SCSS
$custom: #232671;
$custom-light: #69609b;
$custom-dark: #000000;
JSON
{
  "hex": "#232671",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 237.692,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31858,
    "c": 0.12661,
    "h": 274.8
  },
  "luminance": 0.02936
}

Semantic roles & 50–950 ramp

primary
#232671
secondary
#A4A14C
accent
#D74CDC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232671

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

Preview Lab → · Contrast checker → · Palette generator →

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