#231A76#231A76

#231A76 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.148 H 277.3°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#231A76
RGBrgb(35, 26, 118)
HSLhsl(246, 64%, 28%)
HSVhsv(246, 78%, 46%)
CMYKcmyk(70.3%, 78%, 0%, 53.7%)
CIE-LABlab(17.48, 34.30, -50.75)
CIE-LCHlch(17.48, 61.26, 304.05°)
OKLaboklab(30.35% 0.0188 -0.1466)
OKLCHoklch(30.35% 0.148 277.3)
XYZxyz(4.3315, 2.4037, 17.3717)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A76 #6D761A
analogous
#1A3F76 #231A76 #511A76
triadic
#231A76 #76231A #1A7623
tetradic
#231A76 #761A3F #6D761A #1A7651
square
#231A76 #761A3F #6D761A #1A7651
split-complementary
#231A76 #76511A #3F761A
monochromatic
#070619 #140F44 #231A76 #3225A8 #4737D3

Accessibility & contrast

On white

14.18
#231A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#231A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A76
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A76#FFFFFF#000000##FFFFFF
##231A761.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.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: #231a76;
/* rgb */ color: rgb(35, 26, 118);
/* oklch */ color: oklch(30.4% 0.148 277.3);
Tailwind
colors: {
  custom: {
    50: '#6b589f',
    500: '#231a76',
    950: '#000000',
  },
}
SCSS
$custom: #231a76;
$custom-light: #6b589f;
$custom-dark: #000000;
JSON
{
  "hex": "#231a76",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 245.87,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30351,
    "c": 0.14784,
    "h": 277.3
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#231A76
secondary
#A0AB41
accent
#E741D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #231A76

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

Preview Lab → · Contrast checker → · Palette generator →

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