#231E60#231E60

#231E60 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.7% C 0.113 H 280.0°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#231E60
RGBrgb(35, 30, 96)
HSLhsl(245, 52%, 25%)
HSVhsv(245, 69%, 38%)
CMYKcmyk(63.5%, 68.7%, 0%, 62.4%)
CIE-LABlab(16.16, 23.98, -38.55)
CIE-LCHlch(16.16, 45.41, 301.89°)
OKLaboklab(28.72% 0.0195 -0.111)
OKLCHoklch(28.72% 0.113 280)
XYZxyz(3.2681, 2.1302, 11.3030)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E60 #5B601E
analogous
#1E3A60 #231E60 #441E60
triadic
#231E60 #60231E #1E6023
tetradic
#231E60 #601E3A #5B601E #1E6044
square
#231E60 #601E3A #5B601E #1E6044
split-complementary
#231E60 #60441E #3A601E
monochromatic
#080717 #120F31 #231E60 #342D8F #453BBD

Accessibility & contrast

On white

14.73
#231E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#231E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E60
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E60#FFFFFF#000000##FFFFFF
##231E601.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#002F3C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231e60;
/* rgb */ color: rgb(35, 30, 96);
/* oklch */ color: oklch(28.7% 0.113 280.0);
Tailwind
colors: {
  custom: {
    50: '#665a8e',
    500: '#231e60',
    950: '#000000',
  },
}
SCSS
$custom: #231e60;
$custom-light: #665a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#231e60",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 96
  },
  "hsl": {
    "h": 244.545,
    "s": 52.381,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28723,
    "c": 0.11267,
    "h": 280
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#231E60
secondary
#8F9545
accent
#DC4CD1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #231E60

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

Preview Lab → · Contrast checker → · Palette generator →

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