#231E70#231E70

#231E70 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.135 H 277.3°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#231E70
RGBrgb(35, 30, 112)
HSLhsl(244, 58%, 28%)
HSVhsv(244, 73%, 44%)
CMYKcmyk(68.8%, 73.2%, 0%, 56.1%)
CIE-LABlab(17.72, 29.76, -46.49)
CIE-LCHlch(17.72, 55.20, 302.62°)
OKLaboklab(30.33% 0.0173 -0.1342)
OKLCHoklch(30.33% 0.135 277.3)
XYZxyz(4.0811, 2.4554, 15.5850)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E70 #6B701E
analogous
#1E4270 #231E70 #4C1E70
triadic
#231E70 #70231E #1E7023
tetradic
#231E70 #701E42 #6B701E #1E704C
square
#231E70 #701E42 #6B701E #1E704C
split-complementary
#231E70 #704C1E #42701E
monochromatic
#080618 #141140 #231E70 #322BA0 #463DCB

Accessibility & contrast

On white

14.08
#231E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#231E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E70
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E70#FFFFFF#000000##FFFFFF
##231E701.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231e70;
/* rgb */ color: rgb(35, 30, 112);
/* oklch */ color: oklch(30.3% 0.135 277.3);
Tailwind
colors: {
  custom: {
    50: '#695b9a',
    500: '#231e70',
    950: '#000000',
  },
}
SCSS
$custom: #231e70;
$custom-light: #695b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#231e70",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 243.659,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30329,
    "c": 0.13532,
    "h": 277.3
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#231E70
secondary
#9EA446
accent
#E147D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231E70

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

Preview Lab → · Contrast checker → · Palette generator →

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