#231776#231776

#231776 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.151 H 277.8°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#231776
RGBrgb(35, 23, 118)
HSLhsl(248, 67%, 28%)
HSVhsv(248, 81%, 46%)
CMYKcmyk(70.3%, 80.5%, 0%, 53.7%)
CIE-LABlab(16.88, 35.99, -51.74)
CIE-LCHlch(16.88, 63.02, 304.82°)
OKLaboklab(29.93% 0.0205 -0.1495)
OKLCHoklch(29.93% 0.151 277.8)
XYZxyz(4.2685, 2.2778, 17.3507)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231776 #6A7617
analogous
#173A76 #231776 #521776
triadic
#231776 #762317 #177623
tetradic
#231776 #76173A #6A7617 #177652
square
#231776 #76173A #6A7617 #177652
split-complementary
#231776 #765217 #3A7617
monochromatic
#08051A #140D43 #231776 #3221A9 #4631D7

Accessibility & contrast

On white

14.43
#231776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#231776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231776
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231776#FFFFFF#000000##FFFFFF
##2317761.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231776;
/* rgb */ color: rgb(35, 23, 118);
/* oklch */ color: oklch(29.9% 0.151 277.8);
Tailwind
colors: {
  custom: {
    50: '#6b579f',
    500: '#231776',
    950: '#000000',
  },
}
SCSS
$custom: #231776;
$custom-light: #6b579f;
$custom-dark: #000000;
JSON
{
  "hex": "#231776",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 247.579,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29933,
    "c": 0.15087,
    "h": 277.8
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

primary
#231776
secondary
#9DAB3E
accent
#EA3ED4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #231776

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

Preview Lab → · Contrast checker → · Palette generator →

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