#231B8E#231B8E

#231B8E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.177 H 274.0°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#231B8E
RGBrgb(35, 27, 142)
HSLhsl(244, 68%, 33%)
HSVhsv(244, 81%, 56%)
CMYKcmyk(75.4%, 81%, 0%, 44.3%)
CIE-LABlab(20.41, 41.75, -61.09)
CIE-LCHlch(20.41, 73.99, 304.35°)
OKLaboklab(33.22% 0.0123 -0.1767)
OKLCHoklch(33.22% 0.177 274)
XYZxyz(5.9659, 3.0936, 25.8686)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B8E #868E1B
analogous
#1B4C8E #231B8E #5C1B8E
triadic
#231B8E #8E231B #1B8E23
tetradic
#231B8E #8E1B4C #868E1B #1B8E5C
square
#231B8E #8E1B4C #868E1B #1B8E5C
split-complementary
#231B8E #8E5C1B #4C8E1B
monochromatic
#0A0727 #16115B #231B8E #3025C1 #5247DC

Accessibility & contrast

On white

12.97
#231B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#231B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B8E
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B8E#FFFFFF#000000##FFFFFF
##231B8E1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231b8e;
/* rgb */ color: rgb(35, 27, 142);
/* oklch */ color: oklch(33.2% 0.177 274.0);
Tailwind
colors: {
  custom: {
    50: '#715ab0',
    500: '#231b8e',
    950: '#000000',
  },
}
SCSS
$custom: #231b8e;
$custom-light: #715ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#231b8e",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 244.174,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33222,
    "c": 0.17713,
    "h": 274
  },
  "luminance": 0.03094
}

Semantic roles & 50–950 ramp

primary
#231B8E
secondary
#B5BE47
accent
#EB3DDF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231B8E

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

Preview Lab → · Contrast checker → · Palette generator →

#231B8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva