#231E6D#231E6D

#231E6D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.131 H 277.8°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#231E6D
RGBrgb(35, 30, 109)
HSLhsl(244, 57%, 27%)
HSVhsv(244, 72%, 43%)
CMYKcmyk(67.9%, 72.5%, 0%, 57.3%)
CIE-LABlab(17.41, 28.69, -45.04)
CIE-LCHlch(17.41, 53.40, 302.49°)
OKLaboklab(30.02% 0.0178 -0.13)
OKLCHoklch(30.02% 0.131 277.8)
XYZxyz(3.9168, 2.3897, 14.7199)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E6D #686D1E
analogous
#1E416D #231E6D #4A1E6D
triadic
#231E6D #6D231E #1E6D23
tetradic
#231E6D #6D1E41 #686D1E #1E6D4A
square
#231E6D #6D1E41 #686D1E #1E6D4A
split-complementary
#231E6D #6D4A1E #416D1E
monochromatic
#080718 #14113D #231E6D #322B9D #453CC9

Accessibility & contrast

On white

14.21
#231E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#231E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E6D
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E6D#FFFFFF#000000##FFFFFF
##231E6D1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6F
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231e6d;
/* rgb */ color: rgb(35, 30, 109);
/* oklch */ color: oklch(30.0% 0.131 277.8);
Tailwind
colors: {
  custom: {
    50: '#695a98',
    500: '#231e6d',
    950: '#000000',
  },
}
SCSS
$custom: #231e6d;
$custom-light: #695a98;
$custom-dark: #000000;
JSON
{
  "hex": "#231e6d",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 243.797,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30018,
    "c": 0.13118,
    "h": 277.8
  },
  "luminance": 0.0239
}

Semantic roles & 50–950 ramp

primary
#231E6D
secondary
#9CA145
accent
#E048D6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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