#231479#231479

#231479 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.157 H 277.7°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#231479
RGBrgb(35, 20, 121)
HSLhsl(249, 72%, 28%)
HSVhsv(249, 83%, 47%)
CMYKcmyk(71.1%, 83.5%, 0%, 52.5%)
CIE-LABlab(16.69, 38.54, -53.98)
CIE-LCHlch(16.69, 66.33, 305.53°)
OKLaboklab(29.9% 0.0212 -0.156)
OKLCHoklch(29.9% 0.157 277.7)
XYZxyz(4.3934, 2.2377, 18.2858)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231479 #6A7914
analogous
#143779 #231479 #551479
triadic
#231479 #792314 #147923
tetradic
#231479 #791437 #6A7914 #147955
square
#231479 #791437 #6A7914 #147955
split-complementary
#231479 #795514 #377914
monochromatic
#08041A #140B44 #231479 #321DAE #462BDC

Accessibility & contrast

On white

14.51
#231479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#231479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231479
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231479#FFFFFF#000000##FFFFFF
##2314791.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231479;
/* rgb */ color: rgb(35, 20, 121);
/* oklch */ color: oklch(29.9% 0.157 277.7);
Tailwind
colors: {
  custom: {
    50: '#6d55a1',
    500: '#231479',
    950: '#000000',
  },
}
SCSS
$custom: #231479;
$custom-light: #6d55a1;
$custom-dark: #000000;
JSON
{
  "hex": "#231479",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 248.911,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29901,
    "c": 0.15741,
    "h": 277.7
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#231479
secondary
#9DAF3A
accent
#EE39D3
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #231479

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

Preview Lab → · Contrast checker → · Palette generator →

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