#231B8F#231B8F

#231B8F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.178 H 273.9°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#231B8F
RGBrgb(35, 27, 143)
HSLhsl(244, 68%, 33%)
HSVhsv(244, 81%, 56%)
CMYKcmyk(75.5%, 81.1%, 0%, 43.9%)
CIE-LABlab(20.53, 42.07, -61.51)
CIE-LCHlch(20.53, 74.53, 304.37°)
OKLaboklab(33.34% 0.0121 -0.1779)
OKLCHoklch(33.34% 0.178 273.9)
XYZxyz(6.0413, 3.1237, 26.2658)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B8F #878F1B
analogous
#1B4D8F #231B8F #5D1B8F
triadic
#231B8F #8F231B #1B8F23
tetradic
#231B8F #8F1B4D #878F1B #1B8F5D
square
#231B8F #8F1B4D #878F1B #1B8F5D
split-complementary
#231B8F #8F5D1B #4D8F1B
monochromatic
#0A0828 #16115C #231B8F #3025C2 #5248DC

Accessibility & contrast

On white

12.92
#231B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231B8F
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B8F#FFFFFF#000000##FFFFFF
##231B8F1.0012.921.6212.92
#FFFFFF12.921.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231b8f;
/* rgb */ color: rgb(35, 27, 143);
/* oklch */ color: oklch(33.3% 0.178 273.9);
Tailwind
colors: {
  custom: {
    50: '#715ab1',
    500: '#231b8f',
    950: '#000000',
  },
}
SCSS
$custom: #231b8f;
$custom-light: #715ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#231b8f",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 244.138,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33339,
    "c": 0.17835,
    "h": 273.9
  },
  "luminance": 0.03124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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