#15305F#15305F

#15305F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.090 H 260.6°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#15305F
RGBrgb(21, 48, 95)
HSLhsl(218, 64%, 23%)
HSVhsv(218, 78%, 37%)
CMYKcmyk(77.9%, 49.5%, 0%, 62.7%)
CIE-LABlab(20.44, 8.19, -31.00)
CIE-LCHlch(20.44, 32.07, 284.80°)
OKLaboklab(31.67% -0.0147 -0.0889)
OKLCHoklch(31.67% 0.09 260.6)
XYZxyz(3.4310, 3.0992, 11.2416)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15305F #5F4415
analogous
#15555F #15305F #1F155F
triadic
#15305F #5F1530 #305F15
tetradic
#15305F #5F1555 #5F4415 #155F1F
square
#15305F #5F1555 #5F4415 #155F1F
split-complementary
#15305F #5F1F15 #555F15
monochromatic
#060D19 #0A172D #15305F #204991 #2B63C3

Accessibility & contrast

On white

12.96
#15305F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#15305F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15305F
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15305F#FFFFFF#000000##FFFFFF
##15305F1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173561
Deuteranopia (green-blind)
#072E5E
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #15305f;
/* rgb */ color: rgb(21, 48, 95);
/* oklch */ color: oklch(31.7% 0.090 260.6);
Tailwind
colors: {
  custom: {
    50: '#5e678d',
    500: '#15305f',
    950: '#000000',
  },
}
SCSS
$custom: #15305f;
$custom-light: #5e678d;
$custom-dark: #000000;
JSON
{
  "hex": "#15305f",
  "rgb": {
    "r": 21,
    "g": 48,
    "b": 95
  },
  "hsl": {
    "h": 218.108,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31673,
    "c": 0.09007,
    "h": 260.6
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#15305F
secondary
#96743A
accent
#AA41E7
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #15305F

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

Preview Lab → · Contrast checker → · Palette generator →

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