#152675#152675

#152675 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.136 H 267.8°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#152675
RGBrgb(21, 38, 117)
HSLhsl(229, 70%, 27%)
HSVhsv(229, 82%, 46%)
CMYKcmyk(82.1%, 67.5%, 0%, 54.1%)
CIE-LABlab(19.35, 24.58, -47.07)
CIE-LCHlch(19.35, 53.10, 297.57°)
OKLaboklab(31.44% -0.0052 -0.1362)
OKLCHoklch(31.44% 0.136 267.8)
XYZxyz(4.2121, 2.8295, 17.1503)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152675 #756415
analogous
#155675 #152675 #341575
triadic
#152675 #751526 #267515
tetradic
#152675 #751556 #756415 #157534
square
#152675 #751556 #756415 #157534
split-complementary
#152675 #753415 #567515
monochromatic
#05081A #0C1541 #152675 #1E37A9 #2B4AD9

Accessibility & contrast

On white

13.41
#152675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#152675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152675
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152675#FFFFFF#000000##FFFFFF
##1526751.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152675;
/* rgb */ color: rgb(21, 38, 117);
/* oklch */ color: oklch(31.4% 0.136 267.8);
Tailwind
colors: {
  custom: {
    50: '#65609e',
    500: '#152675',
    950: '#000000',
  },
}
SCSS
$custom: #152675;
$custom-light: #65609e;
$custom-dark: #000000;
JSON
{
  "hex": "#152675",
  "rgb": {
    "r": 21,
    "g": 38,
    "b": 117
  },
  "hsl": {
    "h": 229.375,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31435,
    "c": 0.13632,
    "h": 267.8
  },
  "luminance": 0.0283
}

Semantic roles & 50–950 ramp

primary
#152675
secondary
#AB973B
accent
#CD3BEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #152675

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

Preview Lab → · Contrast checker → · Palette generator →

#152675 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva