#231E5F#231E5F

#231E5F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.6% C 0.111 H 280.2°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#231E5F
RGBrgb(35, 30, 95)
HSLhsl(245, 52%, 25%)
HSVhsv(245, 68%, 37%)
CMYKcmyk(63.2%, 68.4%, 0%, 62.7%)
CIE-LABlab(16.06, 23.62, -38.04)
CIE-LCHlch(16.06, 44.78, 301.84°)
OKLaboklab(28.63% 0.0197 -0.1094)
OKLCHoklch(28.63% 0.111 280.2)
XYZxyz(3.2223, 2.1119, 11.0621)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E5F #5A5F1E
analogous
#1E3A5F #231E5F #441E5F
triadic
#231E5F #5F231E #1E5F23
tetradic
#231E5F #5F1E3A #5A5F1E #1E5F44
square
#231E5F #5F1E3A #5A5F1E #1E5F44
split-complementary
#231E5F #5F441E #3A5F1E
monochromatic
#090717 #120F30 #231E5F #342D8E #453BBC

Accessibility & contrast

On white

14.76
#231E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231E5F
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E5F#FFFFFF#000000##FFFFFF
##231E5F1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231e5f;
/* rgb */ color: rgb(35, 30, 95);
/* oklch */ color: oklch(28.6% 0.111 280.2);
Tailwind
colors: {
  custom: {
    50: '#655a8d',
    500: '#231e5f',
    950: '#000000',
  },
}
SCSS
$custom: #231e5f;
$custom-light: #655a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#231e5f",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 95
  },
  "hsl": {
    "h": 244.615,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28627,
    "c": 0.1112,
    "h": 280.2
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#231E5F
secondary
#8E9445
accent
#DB4CD0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #231E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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