#231A5B#231A5B

#231A5B is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.111 H 282.6°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#231A5B
RGBrgb(35, 26, 91)
HSLhsl(248, 56%, 23%)
HSVhsv(248, 71%, 36%)
CMYKcmyk(61.5%, 71.4%, 0%, 64.3%)
CIE-LABlab(14.69, 24.87, -37.62)
CIE-LCHlch(14.69, 45.10, 303.47°)
OKLaboklab(27.51% 0.0242 -0.1082)
OKLCHoklch(27.51% 0.111 282.6)
XYZxyz(2.9503, 1.8513, 10.0974)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A5B #525B1A
analogous
#1A315B #231A5B #431A5B
triadic
#231A5B #5B231A #1A5B23
tetradic
#231A5B #5B1A31 #525B1A #1A5B43
square
#231A5B #5B1A31 #525B1A #1A5B43
split-complementary
#231A5B #5B431A #315B1A
monochromatic
#090718 #110C2B #231A5B #35288B #4835BA

Accessibility & contrast

On white

15.33
#231A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#231A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A5B
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A5B#FFFFFF#000000##FFFFFF
##231A5B1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00235A
Tritanopia (blue-blind)
#052B38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #231a5b;
/* rgb */ color: rgb(35, 26, 91);
/* oklch */ color: oklch(27.5% 0.111 282.6);
Tailwind
colors: {
  custom: {
    50: '#65578a',
    500: '#231a5b',
    950: '#000000',
  },
}
SCSS
$custom: #231a5b;
$custom-light: #65578a;
$custom-dark: #000000;
JSON
{
  "hex": "#231a5b",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 248.308,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27512,
    "c": 0.11089,
    "h": 282.6
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#231A5B
secondary
#869140
accent
#DF49CA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #231A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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