#152268#152268

#152268 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.3% C 0.123 H 269.0°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#152268
RGBrgb(21, 34, 104)
HSLhsl(231, 66%, 25%)
HSVhsv(231, 80%, 41%)
CMYKcmyk(79.8%, 67.3%, 0%, 59.2%)
CIE-LABlab(17.00, 22.16, -42.49)
CIE-LCHlch(17.00, 47.92, 297.55°)
OKLaboklab(29.32% -0.0021 -0.1228)
OKLCHoklch(29.32% 0.123 269)
XYZxyz(3.3791, 2.3026, 13.3604)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152268 #685B15
analogous
#154C68 #152268 #311568
triadic
#152268 #681522 #226815
tetradic
#152268 #68154C #685B15 #156831
square
#152268 #68154C #685B15 #156831
split-complementary
#152268 #683115 #4C6815
monochromatic
#050819 #0B1135 #152268 #1F339B #2A43CE

Accessibility & contrast

On white

14.38
#152268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#152268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152268
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152268#FFFFFF#000000##FFFFFF
##1522681.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #152268;
/* rgb */ color: rgb(21, 34, 104);
/* oklch */ color: oklch(29.3% 0.123 269.0);
Tailwind
colors: {
  custom: {
    50: '#615d94',
    500: '#152268',
    950: '#000000',
  },
}
SCSS
$custom: #152268;
$custom-light: #615d94;
$custom-dark: #000000;
JSON
{
  "hex": "#152268",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 230.602,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29321,
    "c": 0.12287,
    "h": 269
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#152268
secondary
#9F8F3A
accent
#CF3EE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #152268

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

Preview Lab → · Contrast checker → · Palette generator →

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