#231E6E#231E6E

#231E6E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.133 H 277.6°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#231E6E
RGBrgb(35, 30, 110)
HSLhsl(244, 57%, 27%)
HSVhsv(244, 73%, 43%)
CMYKcmyk(68.2%, 72.7%, 0%, 56.9%)
CIE-LABlab(17.51, 29.05, -45.52)
CIE-LCHlch(17.51, 54.00, 302.54°)
OKLaboklab(30.12% 0.0176 -0.1314)
OKLCHoklch(30.12% 0.133 277.6)
XYZxyz(3.9710, 2.4113, 15.0050)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E6E #696E1E
analogous
#1E416E #231E6E #4B1E6E
triadic
#231E6E #6E231E #1E6E23
tetradic
#231E6E #6E1E41 #696E1E #1E6E4B
square
#231E6E #6E1E41 #696E1E #1E6E4B
split-complementary
#231E6E #6E4B1E #416E1E
monochromatic
#080718 #14113E #231E6E #322B9E #453CCA

Accessibility & contrast

On white

14.17
#231E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231E6E
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E6E#FFFFFF#000000##FFFFFF
##231E6E1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231e6e;
/* rgb */ color: rgb(35, 30, 110);
/* oklch */ color: oklch(30.1% 0.133 277.6);
Tailwind
colors: {
  custom: {
    50: '#695a98',
    500: '#231e6e',
    950: '#000000',
  },
}
SCSS
$custom: #231e6e;
$custom-light: #695a98;
$custom-dark: #000000;
JSON
{
  "hex": "#231e6e",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 110
  },
  "hsl": {
    "h": 243.75,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30121,
    "c": 0.13255,
    "h": 277.6
  },
  "luminance": 0.02412
}

Semantic roles & 50–950 ramp

primary
#231E6E
secondary
#9CA246
accent
#E047D7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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