#231B76#231B76

#231B76 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.147 H 277.1°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#231B76
RGBrgb(35, 27, 118)
HSLhsl(245, 63%, 28%)
HSVhsv(245, 77%, 46%)
CMYKcmyk(70.3%, 77.1%, 0%, 53.7%)
CIE-LABlab(17.69, 33.71, -50.41)
CIE-LCHlch(17.69, 60.64, 303.77°)
OKLaboklab(30.5% 0.0181 -0.1456)
OKLCHoklch(30.5% 0.147 277.1)
XYZxyz(4.3540, 2.4488, 17.3792)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B76 #6E761B
analogous
#1B4076 #231B76 #501B76
triadic
#231B76 #76231B #1B7623
tetradic
#231B76 #761B40 #6E761B #1B7650
square
#231B76 #761B40 #6E761B #1B7650
split-complementary
#231B76 #76501B #40761B
monochromatic
#070619 #141044 #231B76 #3226A8 #473AD2

Accessibility & contrast

On white

14.10
#231B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#231B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B76
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B76#FFFFFF#000000##FFFFFF
##231B761.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002774
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231b76;
/* rgb */ color: rgb(35, 27, 118);
/* oklch */ color: oklch(30.5% 0.147 277.1);
Tailwind
colors: {
  custom: {
    50: '#6b599f',
    500: '#231b76',
    950: '#000000',
  },
}
SCSS
$custom: #231b76;
$custom-light: #6b599f;
$custom-dark: #000000;
JSON
{
  "hex": "#231b76",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 245.275,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30498,
    "c": 0.14677,
    "h": 277.1
  },
  "luminance": 0.02449
}

Semantic roles & 50–950 ramp

primary
#231B76
secondary
#A1AA42
accent
#E642D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #231B76

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

Preview Lab → · Contrast checker → · Palette generator →

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