#231D63#231D63

#231D63 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.8% C 0.118 H 279.8°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#231D63
RGBrgb(35, 29, 99)
HSLhsl(245, 55%, 25%)
HSVhsv(245, 71%, 39%)
CMYKcmyk(64.6%, 70.7%, 0%, 61.2%)
CIE-LABlab(16.19, 25.74, -40.49)
CIE-LCHlch(16.19, 47.98, 302.45°)
OKLaboklab(28.83% 0.0201 -0.1166)
OKLCHoklch(28.83% 0.118 279.8)
XYZxyz(3.3839, 2.1367, 12.0361)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D63 #5D631D
analogous
#1D3A63 #231D63 #461D63
triadic
#231D63 #63231D #1D6323
tetradic
#231D63 #631D3A #5D631D #1D6346
square
#231D63 #631D3A #5D631D #1D6346
split-complementary
#231D63 #63461D #3A631D
monochromatic
#080718 #120F34 #231D63 #342B92 #4439C2

Accessibility & contrast

On white

14.71
#231D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D63
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D63#FFFFFF#000000##FFFFFF
##231D631.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231d63;
/* rgb */ color: rgb(35, 29, 99);
/* oklch */ color: oklch(28.8% 0.118 279.8);
Tailwind
colors: {
  custom: {
    50: '#665990',
    500: '#231d63',
    950: '#000000',
  },
}
SCSS
$custom: #231d63;
$custom-light: #665990;
$custom-dark: #000000;
JSON
{
  "hex": "#231d63",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 245.143,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28834,
    "c": 0.11836,
    "h": 279.8
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#231D63
secondary
#919844
accent
#DE4AD1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #231D63

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

Preview Lab → · Contrast checker → · Palette generator →

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