#231B79#231B79

#231B79 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.151 H 276.7°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#231B79
RGBrgb(35, 27, 121)
HSLhsl(245, 64%, 29%)
HSVhsv(245, 78%, 47%)
CMYKcmyk(71.1%, 77.7%, 0%, 52.5%)
CIE-LABlab(18.01, 34.74, -51.79)
CIE-LCHlch(18.01, 62.36, 303.85°)
OKLaboklab(30.83% 0.0175 -0.1497)
OKLCHoklch(30.83% 0.151 276.7)
XYZxyz(4.5351, 2.5213, 18.3331)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B79 #71791B
analogous
#1B4279 #231B79 #521B79
triadic
#231B79 #79231B #1B7923
tetradic
#231B79 #791B42 #71791B #1B7952
square
#231B79 #791B42 #71791B #1B7952
split-complementary
#231B79 #79521B #42791B
monochromatic
#070619 #151047 #231B79 #3126AB #483BD3

Accessibility & contrast

On white

13.96
#231B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#231B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B79
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B79#FFFFFF#000000##FFFFFF
##231B791.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231b79;
/* rgb */ color: rgb(35, 27, 121);
/* oklch */ color: oklch(30.8% 0.151 276.7);
Tailwind
colors: {
  custom: {
    50: '#6c59a1',
    500: '#231b79',
    950: '#000000',
  },
}
SCSS
$custom: #231b79;
$custom-light: #6c59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#231b79",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 245.106,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30829,
    "c": 0.15068,
    "h": 276.7
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#231B79
secondary
#A4AD43
accent
#E741D8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #231B79

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

Preview Lab → · Contrast checker → · Palette generator →

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