#231E66#231E66

#231E66 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.121 H 278.9°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#231E66
RGBrgb(35, 30, 102)
HSLhsl(244, 55%, 26%)
HSVhsv(244, 71%, 40%)
CMYKcmyk(65.7%, 70.6%, 0%, 60%)
CIE-LABlab(16.72, 26.16, -41.59)
CIE-LCHlch(16.72, 49.13, 302.17°)
OKLaboklab(29.31% 0.0188 -0.1199)
OKLCHoklch(29.31% 0.121 278.9)
XYZxyz(3.5549, 2.2449, 12.8138)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E66 #61661E
analogous
#1E3D66 #231E66 #471E66
triadic
#231E66 #66231E #1E6623
tetradic
#231E66 #661E3D #61661E #1E6647
square
#231E66 #661E3D #61661E #1E6647
split-complementary
#231E66 #66471E #3D661E
monochromatic
#080718 #131037 #231E66 #332C95 #433AC5

Accessibility & contrast

On white

14.49
#231E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#231E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E66
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E66#FFFFFF#000000##FFFFFF
##231E661.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002665
Tritanopia (blue-blind)
#00313F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231e66;
/* rgb */ color: rgb(35, 30, 102);
/* oklch */ color: oklch(29.3% 0.121 278.9);
Tailwind
colors: {
  custom: {
    50: '#675a92',
    500: '#231e66',
    950: '#000000',
  },
}
SCSS
$custom: #231e66;
$custom-light: #675a92;
$custom-dark: #000000;
JSON
{
  "hex": "#231e66",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 244.167,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.2931,
    "c": 0.12133,
    "h": 278.9
  },
  "luminance": 0.02245
}

Semantic roles & 50–950 ramp

primary
#231E66
secondary
#959B45
accent
#DE4AD4
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #231E66

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

Preview Lab → · Contrast checker → · Palette generator →

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