#231E8F#231E8F

#231E8F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.176 H 273.5°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#231E8F
RGBrgb(35, 30, 143)
HSLhsl(243, 65%, 34%)
HSVhsv(243, 79%, 56%)
CMYKcmyk(75.5%, 79%, 0%, 43.9%)
CIE-LABlab(21.09, 40.47, -60.59)
CIE-LCHlch(21.09, 72.87, 303.74°)
OKLaboklab(33.73% 0.0109 -0.1753)
OKLCHoklch(33.73% 0.176 273.5)
XYZxyz(6.1137, 3.2684, 26.2899)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E8F #8A8F1E
analogous
#1E528F #231E8F #5C1E8F
triadic
#231E8F #8F231E #1E8F23
tetradic
#231E8F #8F1E52 #8A8F1E #1E8F5C
square
#231E8F #8F1E52 #8A8F1E #1E8F5C
split-complementary
#231E8F #8F5C1E #528F1E
monochromatic
#0A092A #17135C #231E8F #2F29C2 #544EDA

Accessibility & contrast

On white

12.70
#231E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#231E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E8F
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E8F#FFFFFF#000000##FFFFFF
##231E8F1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #231e8f;
/* rgb */ color: rgb(35, 30, 143);
/* oklch */ color: oklch(33.7% 0.176 273.5);
Tailwind
colors: {
  custom: {
    50: '#715cb1',
    500: '#231e8f',
    950: '#000000',
  },
}
SCSS
$custom: #231e8f;
$custom-light: #715cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#231e8f",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 242.655,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33727,
    "c": 0.17565,
    "h": 273.5
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#231E8F
secondary
#B7BC4C
accent
#E840E1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231E8F

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

Preview Lab → · Contrast checker → · Palette generator →

#231E8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva