#2150A9#2150A9

#2150A9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.152 H 261.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2150A9
RGBrgb(33, 80, 169)
HSLhsl(219, 67%, 40%)
HSVhsv(219, 80%, 66%)
CMYKcmyk(80.5%, 52.7%, 0%, 33.7%)
CIE-LABlab(35.84, 17.65, -52.28)
CIE-LCHlch(35.84, 55.18, 288.65°)
OKLaboklab(45.29% -0.0222 -0.1506)
OKLCHoklch(45.29% 0.152 261.6)
XYZxyz(10.6547, 8.9240, 38.6894)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2150A9 #A97A21
analogous
#2194A9 #2150A9 #3621A9
triadic
#2150A9 #A92150 #50A921
tetradic
#2150A9 #A92194 #A97A21 #21A936
square
#2150A9 #A92194 #A97A21 #21A936
split-complementary
#2150A9 #A93621 #94A921
monochromatic
#0D2043 #173876 #2150A9 #316AD7 #648FE1

Accessibility & contrast

On white

7.54
#2150A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2150A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2150A9
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2150A9#FFFFFF#000000##FFFFFF
##2150A91.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115BAC
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#006674
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2150a9;
/* rgb */ color: rgb(33, 80, 169);
/* oklch */ color: oklch(45.3% 0.152 261.6);
Tailwind
colors: {
  custom: {
    50: '#7380c3',
    500: '#2150a9',
    950: '#000000',
  },
}
SCSS
$custom: #2150a9;
$custom-light: #7380c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2150a9",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 169
  },
  "hsl": {
    "h": 219.265,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45287,
    "c": 0.15228,
    "h": 261.6
  },
  "luminance": 0.08925
}

Semantic roles & 50–950 ramp

primary
#2150A9
secondary
#C6A360
accent
#AF3EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2150A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2150A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva