#153274#153274

#153274 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.119 H 263.5°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#153274
RGBrgb(21, 50, 116)
HSLhsl(222, 69%, 27%)
HSVhsv(222, 82%, 45%)
CMYKcmyk(81.9%, 56.9%, 0%, 54.5%)
CIE-LABlab(22.66, 15.60, -41.03)
CIE-LCHlch(22.66, 43.89, 290.82°)
OKLaboklab(33.88% -0.0135 -0.1183)
OKLCHoklch(33.88% 0.119 263.5)
XYZxyz(4.6011, 3.7011, 16.9915)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153274 #745715
analogous
#156274 #153274 #281574
triadic
#153274 #741532 #327415
tetradic
#153274 #741562 #745715 #157428
square
#153274 #741562 #745715 #157428
split-complementary
#153274 #742815 #627415
monochromatic
#050B1A #0C1C40 #153274 #1E48A8 #2B60D9

Accessibility & contrast

On white

12.07
#153274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#153274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153274
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153274#FFFFFF#000000##FFFFFF
##1532741.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #153274;
/* rgb */ color: rgb(21, 50, 116);
/* oklch */ color: oklch(33.9% 0.119 263.5);
Tailwind
colors: {
  custom: {
    50: '#63699d',
    500: '#153274',
    950: '#000000',
  },
}
SCSS
$custom: #153274;
$custom-light: #63699d;
$custom-dark: #000000;
JSON
{
  "hex": "#153274",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 221.684,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33878,
    "c": 0.11909,
    "h": 263.5
  },
  "luminance": 0.03702
}

Semantic roles & 50–950 ramp

primary
#153274
secondary
#AA883B
accent
#B63CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #153274

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

Preview Lab → · Contrast checker → · Palette generator →

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