#231E5E#231E5E

#231E5E is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.5% C 0.110 H 280.4°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#231E5E
RGBrgb(35, 30, 94)
HSLhsl(245, 52%, 24%)
HSVhsv(245, 68%, 37%)
CMYKcmyk(62.8%, 68.1%, 0%, 63.1%)
CIE-LABlab(15.97, 23.26, -37.53)
CIE-LCHlch(15.97, 44.15, 301.79°)
OKLaboklab(28.53% 0.0197 -0.1079)
OKLCHoklch(28.53% 0.11 280.4)
XYZxyz(3.1772, 2.0938, 10.8242)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E5E #595E1E
analogous
#1E395E #231E5E #431E5E
triadic
#231E5E #5E231E #1E5E23
tetradic
#231E5E #5E1E39 #595E1E #1E5E43
square
#231E5E #5E1E39 #595E1E #1E5E43
split-complementary
#231E5E #5E431E #395E1E
monochromatic
#090717 #120F30 #231E5E #342D8C #463CBB

Accessibility & contrast

On white

14.80
#231E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#231E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E5E
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E5E#FFFFFF#000000##FFFFFF
##231E5E1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#00255D
Tritanopia (blue-blind)
#002E3B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231e5e;
/* rgb */ color: rgb(35, 30, 94);
/* oklch */ color: oklch(28.5% 0.110 280.4);
Tailwind
colors: {
  custom: {
    50: '#655a8c',
    500: '#231e5e',
    950: '#000000',
  },
}
SCSS
$custom: #231e5e;
$custom-light: #655a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#231e5e",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 94
  },
  "hsl": {
    "h": 244.688,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28532,
    "c": 0.10972,
    "h": 280.4
  },
  "luminance": 0.02094
}

Semantic roles & 50–950 ramp

primary
#231E5E
secondary
#8D9345
accent
#DB4DD0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #231E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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