#231D4F#231D4F

#231D4F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.088 H 284.2°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#231D4F
RGBrgb(35, 29, 79)
HSLhsl(247, 46%, 21%)
HSVhsv(247, 63%, 31%)
CMYKcmyk(55.7%, 63.3%, 0%, 69%)
CIE-LABlab(14.40, 18.51, -29.96)
CIE-LCHlch(14.40, 35.22, 301.70°)
OKLaboklab(26.97% 0.0217 -0.0857)
OKLCHoklch(26.97% 0.088 284.2)
XYZxyz(2.5434, 1.8004, 7.6091)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D4F #494F1D
analogous
#1D304F #231D4F #3C1D4F
triadic
#231D4F #4F231D #1D4F23
tetradic
#231D4F #4F1D30 #494F1D #1D4F3C
square
#231D4F #4F1D30 #494F1D #1D4F3C
split-complementary
#231D4F #4F3C1D #304F1D
monochromatic
#0A0816 #0F0D22 #231D4F #372D7C #4B3EA9

Accessibility & contrast

On white

15.44
#231D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D4F
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D4F#FFFFFF#000000##FFFFFF
##231D4F1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#122832
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #231d4f;
/* rgb */ color: rgb(35, 29, 79);
/* oklch */ color: oklch(27.0% 0.088 284.2);
Tailwind
colors: {
  custom: {
    50: '#625981',
    500: '#231d4f',
    950: '#000000',
  },
}
SCSS
$custom: #231d4f;
$custom-light: #625981;
$custom-dark: #000000;
JSON
{
  "hex": "#231d4f",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 247.2,
    "s": 46.296,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26971,
    "c": 0.08841,
    "h": 284.2
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#231D4F
secondary
#7D8444
accent
#D652C6
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05030A
muted
#7A787C

Preview Lab

Preview with #231D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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