#231D62#231D62

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

Color values

HEX#231D62
RGBrgb(35, 29, 98)
HSLhsl(245, 54%, 25%)
HSVhsv(245, 70%, 38%)
CMYKcmyk(64.3%, 70.4%, 0%, 61.6%)
CIE-LABlab(16.09, 25.38, -39.98)
CIE-LCHlch(16.09, 47.36, 302.41°)
OKLaboklab(28.74% 0.0203 -0.1151)
OKLCHoklch(28.74% 0.117 280)
XYZxyz(3.3364, 2.1177, 11.7858)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D62 #5C621D
analogous
#1D3A62 #231D62 #451D62
triadic
#231D62 #62231D #1D6223
tetradic
#231D62 #621D3A #5C621D #1D6245
square
#231D62 #621D3A #5C621D #1D6245
split-complementary
#231D62 #62451D #3A621D
monochromatic
#080718 #120F33 #231D62 #342B91 #4539C0

Accessibility & contrast

On white

14.75
#231D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D62
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D62#FFFFFF#000000##FFFFFF
##231D621.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231d62;
/* rgb */ color: rgb(35, 29, 98);
/* oklch */ color: oklch(28.7% 0.117 280.0);
Tailwind
colors: {
  custom: {
    50: '#66598f',
    500: '#231d62',
    950: '#000000',
  },
}
SCSS
$custom: #231d62;
$custom-light: #66598f;
$custom-dark: #000000;
JSON
{
  "hex": "#231d62",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 98
  },
  "hsl": {
    "h": 245.217,
    "s": 54.331,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28735,
    "c": 0.11692,
    "h": 280
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#231D62
secondary
#909744
accent
#DE4AD1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #231D62

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

Preview Lab → · Contrast checker → · Palette generator →

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