#231477#231477

#231477 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.155 H 278.1°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#231477
RGBrgb(35, 20, 119)
HSLhsl(249, 71%, 27%)
HSVhsv(249, 83%, 47%)
CMYKcmyk(70.6%, 83.2%, 0%, 53.3%)
CIE-LABlab(16.45, 37.90, -53.09)
CIE-LCHlch(16.45, 65.23, 305.52°)
OKLaboklab(29.67% 0.0218 -0.1534)
OKLCHoklch(29.67% 0.155 278.1)
XYZxyz(4.2720, 2.1892, 17.6466)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231477 #687714
analogous
#143777 #231477 #551477
triadic
#231477 #772314 #147723
tetradic
#231477 #771437 #687714 #147755
square
#231477 #771437 #687714 #147755
split-complementary
#231477 #775514 #377714
monochromatic
#08041A #140B43 #231477 #321DAB #452ADB

Accessibility & contrast

On white

14.60
#231477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#231477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231477
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231477#FFFFFF#000000##FFFFFF
##2314771.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003246
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231477;
/* rgb */ color: rgb(35, 20, 119);
/* oklch */ color: oklch(29.7% 0.155 278.1);
Tailwind
colors: {
  custom: {
    50: '#6c559f',
    500: '#231477',
    950: '#000000',
  },
}
SCSS
$custom: #231477;
$custom-light: #6c559f;
$custom-dark: #000000;
JSON
{
  "hex": "#231477",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 249.091,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29666,
    "c": 0.15493,
    "h": 278.1
  },
  "luminance": 0.0219
}

Semantic roles & 50–950 ramp

primary
#231477
secondary
#9BAD3A
accent
#EE3AD3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #231477

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

Preview Lab → · Contrast checker → · Palette generator →

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