#231876#231876

#231876 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.150 H 277.7°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#231876
RGBrgb(35, 24, 118)
HSLhsl(247, 66%, 28%)
HSVhsv(247, 80%, 46%)
CMYKcmyk(70.3%, 79.7%, 0%, 53.7%)
CIE-LABlab(17.08, 35.44, -51.42)
CIE-LCHlch(17.08, 62.45, 304.58°)
OKLaboklab(30.07% 0.02 -0.1485)
OKLCHoklch(30.07% 0.15 277.7)
XYZxyz(4.2887, 2.3182, 17.3575)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231876 #6B7618
analogous
#183C76 #231876 #521876
triadic
#231876 #762318 #187623
tetradic
#231876 #76183C #6B7618 #187652
square
#231876 #76183C #6B7618 #187652
split-complementary
#231876 #765218 #3C7618
monochromatic
#080519 #140E43 #231876 #3222A9 #4633D5

Accessibility & contrast

On white

14.35
#231876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231876
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231876#FFFFFF#000000##FFFFFF
##2318761.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231876;
/* rgb */ color: rgb(35, 24, 118);
/* oklch */ color: oklch(30.1% 0.150 277.7);
Tailwind
colors: {
  custom: {
    50: '#6b579f',
    500: '#231876',
    950: '#000000',
  },
}
SCSS
$custom: #231876;
$custom-light: #6b579f;
$custom-dark: #000000;
JSON
{
  "hex": "#231876",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 247.021,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30068,
    "c": 0.14988,
    "h": 277.7
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#231876
secondary
#9EAB3F
accent
#E93FD5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #231876

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

Preview Lab → · Contrast checker → · Palette generator →

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