#231476#231476

#231476 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.154 H 278.3°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#231476
RGBrgb(35, 20, 118)
HSLhsl(249, 71%, 27%)
HSVhsv(249, 83%, 46%)
CMYKcmyk(70.3%, 83.1%, 0%, 53.7%)
CIE-LABlab(16.33, 37.58, -52.65)
CIE-LCHlch(16.33, 64.68, 305.52°)
OKLaboklab(29.55% 0.0221 -0.1521)
OKLCHoklch(29.55% 0.154 278.3)
XYZxyz(4.2123, 2.1653, 17.3320)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231476 #677614
analogous
#143676 #231476 #541476
triadic
#231476 #762314 #147623
tetradic
#231476 #761436 #677614 #147654
square
#231476 #761436 #677614 #147654
split-complementary
#231476 #765414 #367614
monochromatic
#08041A #130B42 #231476 #331DAA #452ADB

Accessibility & contrast

On white

14.65
#231476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#231476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231476
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231476#FFFFFF#000000##FFFFFF
##2314761.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231476;
/* rgb */ color: rgb(35, 20, 118);
/* oklch */ color: oklch(29.5% 0.154 278.3);
Tailwind
colors: {
  custom: {
    50: '#6c559f',
    500: '#231476',
    950: '#000000',
  },
}
SCSS
$custom: #231476;
$custom-light: #6c559f;
$custom-dark: #000000;
JSON
{
  "hex": "#231476",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 249.184,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29549,
    "c": 0.15368,
    "h": 278.3
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#231476
secondary
#9BAC3A
accent
#EE3AD2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #231476

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

Preview Lab → · Contrast checker → · Palette generator →

#231476 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva