#2154A0#2154A0

#2154A0 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.5% C 0.135 H 258.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2154A0
RGBrgb(33, 84, 160)
HSLhsl(216, 66%, 38%)
HSVhsv(216, 79%, 63%)
CMYKcmyk(79.4%, 47.5%, 0%, 37.3%)
CIE-LABlab(36.37, 11.42, -46.05)
CIE-LCHlch(36.37, 47.44, 283.92°)
OKLaboklab(45.49% -0.0267 -0.1322)
OKLCHoklch(45.49% 0.135 258.6)
XYZxyz(10.1404, 9.2009, 34.4924)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2154A0 #A06D21
analogous
#2193A0 #2154A0 #2E21A0
triadic
#2154A0 #A02154 #54A021
tetradic
#2154A0 #A02193 #A06D21 #21A02E
square
#2154A0 #A02193 #A06D21 #21A02E
split-complementary
#2154A0 #A02E21 #93A021
monochromatic
#0C1F3B #17396D #2154A0 #2B6FD3 #5E91DE

Accessibility & contrast

On white

7.39
#2154A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2154A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2154A0
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2154A0#FFFFFF#000000##FFFFFF
##2154A01.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5CA3
Deuteranopia (green-blind)
#06509E
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2154a0;
/* rgb */ color: rgb(33, 84, 160);
/* oklch */ color: oklch(45.5% 0.135 258.6);
Tailwind
colors: {
  custom: {
    50: '#7083bd',
    500: '#2154a0',
    950: '#000000',
  },
}
SCSS
$custom: #2154a0;
$custom-light: #7083bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2154a0",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 160
  },
  "hsl": {
    "h": 215.906,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45494,
    "c": 0.13488,
    "h": 258.6
  },
  "luminance": 0.09202
}

Semantic roles & 50–950 ramp

primary
#2154A0
secondary
#C2995B
accent
#A53FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2154A0

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

Preview Lab → · Contrast checker → · Palette generator →

#2154A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva