#231A5F#231A5F

#231A5F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.9% C 0.117 H 281.7°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#231A5F
RGBrgb(35, 26, 95)
HSLhsl(248, 57%, 24%)
HSVhsv(248, 73%, 37%)
CMYKcmyk(63.2%, 72.6%, 0%, 62.7%)
CIE-LABlab(15.07, 26.29, -39.66)
CIE-LCHlch(15.07, 47.58, 303.54°)
OKLaboklab(27.91% 0.0236 -0.1142)
OKLCHoklch(27.91% 0.117 281.7)
XYZxyz(3.1274, 1.9221, 11.0305)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A5F #565F1A
analogous
#1A335F #231A5F #451A5F
triadic
#231A5F #5F231A #1A5F23
tetradic
#231A5F #5F1A33 #565F1A #1A5F45
square
#231A5F #5F1A33 #565F1A #1A5F45
split-complementary
#231A5F #5F451A #335F1A
monochromatic
#090718 #110D2F #231A5F #35278F #4634BF

Accessibility & contrast

On white

15.17
#231A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#231A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A5F
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A5F#FFFFFF#000000##FFFFFF
##231A5F1.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231a5f;
/* rgb */ color: rgb(35, 26, 95);
/* oklch */ color: oklch(27.9% 0.117 281.7);
Tailwind
colors: {
  custom: {
    50: '#66578d',
    500: '#231a5f',
    950: '#000000',
  },
}
SCSS
$custom: #231a5f;
$custom-light: #66578d;
$custom-dark: #000000;
JSON
{
  "hex": "#231a5f",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 247.826,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.2791,
    "c": 0.1166,
    "h": 281.7
  },
  "luminance": 0.01922
}

Semantic roles & 50–950 ramp

primary
#231A5F
secondary
#8A9540
accent
#E048CC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #231A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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