#231379#231379

#231379 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.158 H 277.9°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#231379
RGBrgb(35, 19, 121)
HSLhsl(249, 73%, 27%)
HSVhsv(249, 84%, 47%)
CMYKcmyk(71.1%, 84.3%, 0%, 52.5%)
CIE-LABlab(16.52, 39.04, -54.26)
CIE-LCHlch(16.52, 66.85, 305.73°)
OKLaboklab(29.78% 0.0217 -0.1568)
OKLCHoklch(29.78% 0.158 277.9)
XYZxyz(4.3761, 2.2032, 18.2801)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231379 #697913
analogous
#133679 #231379 #561379
triadic
#231379 #792313 #137923
tetradic
#231379 #791336 #697913 #137956
square
#231379 #791336 #697913 #137956
split-complementary
#231379 #795613 #367913
monochromatic
#08041A #140B44 #231379 #321BAE #4529DD

Accessibility & contrast

On white

14.58
#231379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231379
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231379#FFFFFF#000000##FFFFFF
##2313791.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.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: #231379;
/* rgb */ color: rgb(35, 19, 121);
/* oklch */ color: oklch(29.8% 0.158 277.9);
Tailwind
colors: {
  custom: {
    50: '#6d55a1',
    500: '#231379',
    950: '#000000',
  },
}
SCSS
$custom: #231379;
$custom-light: #6d55a1;
$custom-dark: #000000;
JSON
{
  "hex": "#231379",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 121
  },
  "hsl": {
    "h": 249.412,
    "s": 72.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29784,
    "c": 0.15825,
    "h": 277.9
  },
  "luminance": 0.02204
}

Semantic roles & 50–950 ramp

primary
#231379
secondary
#9CAF39
accent
#F038D3
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #231379

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

Preview Lab → · Contrast checker → · Palette generator →

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