#15235F#15235F

#15235F is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.108 H 268.6°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#15235F
RGBrgb(21, 35, 95)
HSLhsl(229, 64%, 23%)
HSVhsv(229, 78%, 37%)
CMYKcmyk(77.9%, 63.2%, 0%, 62.7%)
CIE-LABlab(16.44, 17.74, -37.47)
CIE-LCHlch(16.44, 41.46, 295.34°)
OKLaboklab(28.65% -0.0027 -0.1081)
OKLCHoklch(28.65% 0.108 268.6)
XYZxyz(2.9751, 2.1874, 11.0897)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15235F #5F5115
analogous
#15485F #15235F #2C155F
triadic
#15235F #5F1523 #235F15
tetradic
#15235F #5F1548 #5F5115 #155F2C
square
#15235F #5F1548 #5F5115 #155F2C
split-complementary
#15235F #5F2C15 #485F15
monochromatic
#060919 #0A112D #15235F #203591 #2B48C3

Accessibility & contrast

On white

14.61
#15235F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#15235F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15235F
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15235F#FFFFFF#000000##FFFFFF
##15235F1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #15235f;
/* rgb */ color: rgb(21, 35, 95);
/* oklch */ color: oklch(28.6% 0.108 268.6);
Tailwind
colors: {
  custom: {
    50: '#5f5d8d',
    500: '#15235f',
    950: '#000000',
  },
}
SCSS
$custom: #15235f;
$custom-light: #5f5d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#15235f",
  "rgb": {
    "r": 21,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 228.649,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28645,
    "c": 0.10815,
    "h": 268.6
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#15235F
secondary
#96853A
accent
#C741E7
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #15235F

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

Preview Lab → · Contrast checker → · Palette generator →

#15235F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva