#15257D#15257D

#15257D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.149 H 268.0°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#15257D
RGBrgb(21, 37, 125)
HSLhsl(231, 71%, 29%)
HSVhsv(231, 83%, 49%)
CMYKcmyk(83.2%, 70.4%, 0%, 51%)
CIE-LABlab(19.89, 28.43, -51.28)
CIE-LCHlch(19.89, 58.63, 299.01°)
OKLaboklab(32.08% -0.0052 -0.1485)
OKLCHoklch(32.08% 0.149 268)
XYZxyz(4.6712, 2.9627, 19.7237)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15257D #7D6D15
analogous
#15597D #15257D #39157D
triadic
#15257D #7D1525 #257D15
tetradic
#15257D #7D1559 #7D6D15 #157D39
square
#15257D #7D1559 #7D6D15 #157D39
split-complementary
#15257D #7D3915 #597D15
monochromatic
#04081A #0C1549 #15257D #1E35B1 #304BDC

Accessibility & contrast

On white

13.19
#15257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#15257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15257D
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15257D#FFFFFF#000000##FFFFFF
##15257D1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #15257d;
/* rgb */ color: rgb(21, 37, 125);
/* oklch */ color: oklch(32.1% 0.149 268.0);
Tailwind
colors: {
  custom: {
    50: '#675fa4',
    500: '#15257d',
    950: '#000000',
  },
}
SCSS
$custom: #15257d;
$custom-light: #675fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#15257d",
  "rgb": {
    "r": 21,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 230.769,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32079,
    "c": 0.14862,
    "h": 268
  },
  "luminance": 0.02963
}

Semantic roles & 50–950 ramp

primary
#15257D
secondary
#B2A03C
accent
#D23AEE
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #15257D

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

Preview Lab → · Contrast checker → · Palette generator →

#15257D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva