#231A60#231A60

#231A60 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 28.0% C 0.118 H 281.4°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#231A60
RGBrgb(35, 26, 96)
HSLhsl(248, 57%, 24%)
HSVhsv(248, 73%, 38%)
CMYKcmyk(63.5%, 72.9%, 0%, 62.4%)
CIE-LABlab(15.17, 26.64, -40.16)
CIE-LCHlch(15.17, 48.20, 303.56°)
OKLaboklab(28.01% 0.0234 -0.1157)
OKLCHoklch(28.01% 0.118 281.4)
XYZxyz(3.1732, 1.9404, 11.2714)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A60 #57601A
analogous
#1A3460 #231A60 #461A60
triadic
#231A60 #60231A #1A6023
tetradic
#231A60 #601A34 #57601A #1A6046
square
#231A60 #601A34 #57601A #1A6046
split-complementary
#231A60 #60461A #34601A
monochromatic
#090718 #110D30 #231A60 #352790 #4634C0

Accessibility & contrast

On white

15.13
#231A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#231A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A60
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A60#FFFFFF#000000##FFFFFF
##231A601.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00235F
Tritanopia (blue-blind)
#002C3A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #231a60;
/* rgb */ color: rgb(35, 26, 96);
/* oklch */ color: oklch(28.0% 0.118 281.4);
Tailwind
colors: {
  custom: {
    50: '#66578e',
    500: '#231a60',
    950: '#000000',
  },
}
SCSS
$custom: #231a60;
$custom-light: #66578e;
$custom-dark: #000000;
JSON
{
  "hex": "#231a60",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 96
  },
  "hsl": {
    "h": 247.714,
    "s": 57.377,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28011,
    "c": 0.11802,
    "h": 281.4
  },
  "luminance": 0.01941
}

Semantic roles & 50–950 ramp

primary
#231A60
secondary
#8B9640
accent
#E147CD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #231A60

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

Preview Lab → · Contrast checker → · Palette generator →

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