#231B77#231B77

#231B77 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.148 H 276.9°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#231B77
RGBrgb(35, 27, 119)
HSLhsl(245, 63%, 29%)
HSVhsv(245, 77%, 47%)
CMYKcmyk(70.6%, 77.3%, 0%, 53.3%)
CIE-LABlab(17.79, 34.05, -50.87)
CIE-LCHlch(17.79, 61.22, 303.80°)
OKLaboklab(30.61% 0.0179 -0.147)
OKLCHoklch(30.61% 0.148 276.9)
XYZxyz(4.4138, 2.4727, 17.6939)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B77 #6F771B
analogous
#1B4177 #231B77 #511B77
triadic
#231B77 #77231B #1B7723
tetradic
#231B77 #771B41 #6F771B #1B7751
square
#231B77 #771B41 #6F771B #1B7751
split-complementary
#231B77 #77511B #41771B
monochromatic
#070619 #141045 #231B77 #3226A9 #473AD2

Accessibility & contrast

On white

14.05
#231B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231B77
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B77#FFFFFF#000000##FFFFFF
##231B771.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7A
Deuteranopia (green-blind)
#002875
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231b77;
/* rgb */ color: rgb(35, 27, 119);
/* oklch */ color: oklch(30.6% 0.148 276.9);
Tailwind
colors: {
  custom: {
    50: '#6b599f',
    500: '#231b77',
    950: '#000000',
  },
}
SCSS
$custom: #231b77;
$custom-light: #6b599f;
$custom-dark: #000000;
JSON
{
  "hex": "#231b77",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 245.217,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30608,
    "c": 0.14808,
    "h": 276.9
  },
  "luminance": 0.02473
}

Semantic roles & 50–950 ramp

primary
#231B77
secondary
#A2AB42
accent
#E642D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #231B77

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

Preview Lab → · Contrast checker → · Palette generator →

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