#231D64#231D64

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

Color values

HEX#231D64
RGBrgb(35, 29, 100)
HSLhsl(245, 55%, 25%)
HSVhsv(245, 71%, 39%)
CMYKcmyk(65%, 71%, 0%, 60.8%)
CIE-LABlab(16.29, 26.10, -40.99)
CIE-LCHlch(16.29, 48.60, 302.49°)
OKLaboklab(28.93% 0.02 -0.1181)
OKLCHoklch(28.93% 0.12 279.6)
XYZxyz(3.4320, 2.1559, 12.2894)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D64 #5E641D
analogous
#1D3B64 #231D64 #461D64
triadic
#231D64 #64231D #1D6423
tetradic
#231D64 #641D3B #5E641D #1D6446
square
#231D64 #641D3B #5E641D #1D6446
split-complementary
#231D64 #64461D #3B641D
monochromatic
#080718 #120F35 #231D64 #342B93 #4439C3

Accessibility & contrast

On white

14.67
#231D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D64
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D64#FFFFFF#000000##FFFFFF
##231D641.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231d64;
/* rgb */ color: rgb(35, 29, 100);
/* oklch */ color: oklch(28.9% 0.120 279.6);
Tailwind
colors: {
  custom: {
    50: '#675991',
    500: '#231d64',
    950: '#000000',
  },
}
SCSS
$custom: #231d64;
$custom-light: #675991;
$custom-dark: #000000;
JSON
{
  "hex": "#231d64",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 245.07,
    "s": 55.039,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28934,
    "c": 0.11978,
    "h": 279.6
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#231D64
secondary
#929944
accent
#DE49D2
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #231D64

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

Preview Lab → · Contrast checker → · Palette generator →

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