#231D61#231D61

#231D61 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.6% C 0.115 H 280.2°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#231D61
RGBrgb(35, 29, 97)
HSLhsl(245, 54%, 25%)
HSVhsv(245, 70%, 38%)
CMYKcmyk(63.9%, 70.1%, 0%, 62%)
CIE-LABlab(16.00, 25.02, -39.48)
CIE-LCHlch(16.00, 46.74, 302.37°)
OKLaboklab(28.64% 0.0204 -0.1137)
OKLCHoklch(28.64% 0.115 280.2)
XYZxyz(3.2895, 2.0989, 11.5387)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D61 #5B611D
analogous
#1D3961 #231D61 #451D61
triadic
#231D61 #61231D #1D6123
tetradic
#231D61 #611D39 #5B611D #1D6145
square
#231D61 #611D39 #5B611D #1D6145
split-complementary
#231D61 #61451D #39611D
monochromatic
#080718 #120F32 #231D61 #342B90 #4539BF

Accessibility & contrast

On white

14.79
#231D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D61
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D61#FFFFFF#000000##FFFFFF
##231D611.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002560
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231d61;
/* rgb */ color: rgb(35, 29, 97);
/* oklch */ color: oklch(28.6% 0.115 280.2);
Tailwind
colors: {
  custom: {
    50: '#66598f',
    500: '#231d61',
    950: '#000000',
  },
}
SCSS
$custom: #231d61;
$custom-light: #66598f;
$custom-dark: #000000;
JSON
{
  "hex": "#231d61",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 97
  },
  "hsl": {
    "h": 245.294,
    "s": 53.968,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28637,
    "c": 0.11548,
    "h": 280.2
  },
  "luminance": 0.02099
}

Semantic roles & 50–950 ramp

primary
#231D61
secondary
#8F9644
accent
#DD4AD0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #231D61

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

Preview Lab → · Contrast checker → · Palette generator →

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