#231E62#231E62

#231E62 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.116 H 279.6°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#231E62
RGBrgb(35, 30, 98)
HSLhsl(244, 53%, 25%)
HSVhsv(244, 69%, 38%)
CMYKcmyk(64.3%, 69.4%, 0%, 61.6%)
CIE-LABlab(16.34, 24.71, -39.57)
CIE-LCHlch(16.34, 46.66, 301.98°)
OKLaboklab(28.92% 0.0193 -0.1139)
OKLCHoklch(28.92% 0.116 279.6)
XYZxyz(3.3613, 2.1675, 11.7941)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E62 #5D621E
analogous
#1E3B62 #231E62 #451E62
triadic
#231E62 #62231E #1E6223
tetradic
#231E62 #621E3B #5D621E #1E6245
square
#231E62 #621E3B #5D621E #1E6245
split-complementary
#231E62 #62451E #3B621E
monochromatic
#080717 #121033 #231E62 #342C91 #443BC0

Accessibility & contrast

On white

14.65
#231E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231E62
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E62#FFFFFF#000000##FFFFFF
##231E621.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002661
Tritanopia (blue-blind)
#002F3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231e62;
/* rgb */ color: rgb(35, 30, 98);
/* oklch */ color: oklch(28.9% 0.116 279.6);
Tailwind
colors: {
  custom: {
    50: '#665a8f',
    500: '#231e62',
    950: '#000000',
  },
}
SCSS
$custom: #231e62;
$custom-light: #665a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#231e62",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 98
  },
  "hsl": {
    "h": 244.412,
    "s": 53.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28916,
    "c": 0.11558,
    "h": 279.6
  },
  "luminance": 0.02168
}

Semantic roles & 50–950 ramp

primary
#231E62
secondary
#919745
accent
#DD4BD2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #231E62

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

Preview Lab → · Contrast checker → · Palette generator →

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