#231D4E#231D4E

#231D4E is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.087 H 284.5°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#231D4E
RGBrgb(35, 29, 78)
HSLhsl(247, 46%, 21%)
HSVhsv(247, 63%, 31%)
CMYKcmyk(55.1%, 62.8%, 0%, 69.4%)
CIE-LABlab(14.32, 18.14, -29.41)
CIE-LCHlch(14.32, 34.56, 301.67°)
OKLaboklab(26.89% 0.0217 -0.0841)
OKLCHoklch(26.89% 0.087 284.5)
XYZxyz(2.5072, 1.7860, 7.4189)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D4E #484E1D
analogous
#1D2F4E #231D4E #3B1D4E
triadic
#231D4E #4E231D #1D4E23
tetradic
#231D4E #4E1D2F #484E1D #1D4E3B
square
#231D4E #4E1D2F #484E1D #1D4E3B
split-complementary
#231D4E #4E3B1D #2F4E1D
monochromatic
#0A0816 #0F0C21 #231D4E #372E7B #4B3EA7

Accessibility & contrast

On white

15.47
#231D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#231D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D4E
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D4E#FFFFFF#000000##FFFFFF
##231D4E1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002650
Deuteranopia (green-blind)
#00234D
Tritanopia (blue-blind)
#132832
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #231d4e;
/* rgb */ color: rgb(35, 29, 78);
/* oklch */ color: oklch(26.9% 0.087 284.5);
Tailwind
colors: {
  custom: {
    50: '#625980',
    500: '#231d4e',
    950: '#000000',
  },
}
SCSS
$custom: #231d4e;
$custom-light: #625980;
$custom-dark: #000000;
JSON
{
  "hex": "#231d4e",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 247.347,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26885,
    "c": 0.08684,
    "h": 284.5
  },
  "luminance": 0.01786
}

Semantic roles & 50–950 ramp

primary
#231D4E
secondary
#7B8344
accent
#D552C5
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05030A
muted
#7A787C

Preview Lab

Preview with #231D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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