#231376#231376

#231376 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.155 H 278.4°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#231376
RGBrgb(35, 19, 118)
HSLhsl(250, 72%, 27%)
HSVhsv(250, 84%, 46%)
CMYKcmyk(70.3%, 83.9%, 0%, 53.7%)
CIE-LABlab(16.16, 38.08, -52.93)
CIE-LCHlch(16.16, 65.21, 305.73°)
OKLaboklab(29.43% 0.0226 -0.1529)
OKLCHoklch(29.43% 0.155 278.4)
XYZxyz(4.1950, 2.1307, 17.3262)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231376 #667613
analogous
#133576 #231376 #551376
triadic
#231376 #762313 #137623
tetradic
#231376 #761335 #667613 #137655
square
#231376 #761335 #667613 #137655
split-complementary
#231376 #765513 #357613
monochromatic
#08041A #130B41 #231376 #331BAB #4427DC

Accessibility & contrast

On white

14.72
#231376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231376
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231376#FFFFFF#000000##FFFFFF
##2313761.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.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: #231376;
/* rgb */ color: rgb(35, 19, 118);
/* oklch */ color: oklch(29.4% 0.155 278.4);
Tailwind
colors: {
  custom: {
    50: '#6c549f',
    500: '#231376',
    950: '#000000',
  },
}
SCSS
$custom: #231376;
$custom-light: #6c549f;
$custom-dark: #000000;
JSON
{
  "hex": "#231376",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 249.697,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29429,
    "c": 0.15456,
    "h": 278.4
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#231376
secondary
#9AAC39
accent
#EF39D2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #231376

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

Preview Lab → · Contrast checker → · Palette generator →

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