#231377#231377

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

Color values

HEX#231377
RGBrgb(35, 19, 119)
HSLhsl(250, 72%, 27%)
HSVhsv(250, 84%, 47%)
CMYKcmyk(70.6%, 84%, 0%, 53.3%)
CIE-LABlab(16.28, 38.40, -53.38)
CIE-LCHlch(16.28, 65.76, 305.73°)
OKLaboklab(29.55% 0.0223 -0.1542)
OKLCHoklch(29.55% 0.156 278.2)
XYZxyz(4.2547, 2.1546, 17.6408)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231377 #677713
analogous
#133577 #231377 #551377
triadic
#231377 #772313 #137723
tetradic
#231377 #771335 #677713 #137755
square
#231377 #771335 #677713 #137755
split-complementary
#231377 #775513 #357713
monochromatic
#08041A #130B42 #231377 #331BAC #4528DD

Accessibility & contrast

On white

14.68
#231377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231377
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231377#FFFFFF#000000##FFFFFF
##2313771.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002475
Tritanopia (blue-blind)
#003246
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231377;
/* rgb */ color: rgb(35, 19, 119);
/* oklch */ color: oklch(29.5% 0.156 278.2);
Tailwind
colors: {
  custom: {
    50: '#6c549f',
    500: '#231377',
    950: '#000000',
  },
}
SCSS
$custom: #231377;
$custom-light: #6c549f;
$custom-dark: #000000;
JSON
{
  "hex": "#231377",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 119
  },
  "hsl": {
    "h": 249.6,
    "s": 72.464,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29547,
    "c": 0.1558,
    "h": 278.2
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231377

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

Preview Lab → · Contrast checker → · Palette generator →

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