#231E75#231E75

#231E75 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.142 H 276.6°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#231E75
RGBrgb(35, 30, 117)
HSLhsl(243, 59%, 29%)
HSVhsv(243, 74%, 46%)
CMYKcmyk(70.1%, 74.4%, 0%, 54.1%)
CIE-LABlab(18.23, 31.54, -48.87)
CIE-LCHlch(18.23, 58.16, 302.83°)
OKLaboklab(30.85% 0.0164 -0.1412)
OKLCHoklch(30.85% 0.142 276.6)
XYZxyz(4.3672, 2.5698, 17.0921)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E75 #70751E
analogous
#1E4575 #231E75 #4F1E75
triadic
#231E75 #75231E #1E7523
tetradic
#231E75 #751E45 #70751E #1E754F
square
#231E75 #751E45 #70751E #1E754F
split-complementary
#231E75 #754F1E #45751E
monochromatic
#070618 #141244 #231E75 #322AA6 #4840CE

Accessibility & contrast

On white

13.87
#231E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#231E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E75
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E75#FFFFFF#000000##FFFFFF
##231E751.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231e75;
/* rgb */ color: rgb(35, 30, 117);
/* oklch */ color: oklch(30.9% 0.142 276.6);
Tailwind
colors: {
  custom: {
    50: '#6b5b9e',
    500: '#231e75',
    950: '#000000',
  },
}
SCSS
$custom: #231e75;
$custom-light: #6b5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#231e75",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 243.448,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30854,
    "c": 0.1421,
    "h": 276.6
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#231E75
secondary
#A3A946
accent
#E245D9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231E75

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

Preview Lab → · Contrast checker → · Palette generator →

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