#154790#154790

#154790 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.0% C 0.132 H 258.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#154790
RGBrgb(21, 71, 144)
HSLhsl(216, 75%, 32%)
HSVhsv(216, 85%, 56%)
CMYKcmyk(85.4%, 50.7%, 0%, 43.5%)
CIE-LABlab(31.06, 12.50, -44.92)
CIE-LCHlch(31.06, 46.63, 285.55°)
OKLaboklab(40.96% -0.026 -0.1293)
OKLCHoklch(40.96% 0.132 258.6)
XYZxyz(7.5947, 6.6786, 27.2690)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154790 #905E15
analogous
#158490 #154790 #211590
triadic
#154790 #901547 #479015
tetradic
#154790 #901584 #905E15 #159021
square
#154790 #901584 #905E15 #159021
split-complementary
#154790 #902115 #849015
monochromatic
#051225 #0D2D5B #154790 #1D61C5 #3D80E3

Accessibility & contrast

On white

8.99
#154790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#154790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154790
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154790#FFFFFF#000000##FFFFFF
##1547901.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4F93
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #154790;
/* rgb */ color: rgb(21, 71, 144);
/* oklch */ color: oklch(41.0% 0.132 258.6);
Tailwind
colors: {
  custom: {
    50: '#6a79b1',
    500: '#154790',
    950: '#000000',
  },
}
SCSS
$custom: #154790;
$custom-light: #6a79b1;
$custom-dark: #000000;
JSON
{
  "hex": "#154790",
  "rgb": {
    "r": 21,
    "g": 71,
    "b": 144
  },
  "hsl": {
    "h": 215.61,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40964,
    "c": 0.13193,
    "h": 258.6
  },
  "luminance": 0.0668
}

Semantic roles & 50–950 ramp

primary
#154790
secondary
#C28D3E
accent
#A537F1
background
#F6F7FB
surface
#ECEDF6
border
#C7C8D0
text
#080911
muted
#7A7B80

Preview Lab

Preview with #154790

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

Preview Lab → · Contrast checker → · Palette generator →

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