#2150B4#2150B4

#2150B4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.167 H 262.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2150B4
RGBrgb(33, 80, 180)
HSLhsl(221, 69%, 42%)
HSVhsv(221, 82%, 71%)
CMYKcmyk(81.7%, 55.6%, 0%, 29.4%)
CIE-LABlab(36.66, 21.97, -57.47)
CIE-LCHlch(36.66, 61.53, 290.92°)
OKLaboklab(46.17% -0.0211 -0.1659)
OKLCHoklch(46.17% 0.167 262.7)
XYZxyz(11.7311, 9.3545, 44.3585)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2150B4 #B48521
analogous
#219AB4 #2150B4 #3B21B4
triadic
#2150B4 #B42150 #50B421
tetradic
#2150B4 #B4219A #B48521 #21B43B
square
#2150B4 #B4219A #B48521 #21B43B
split-complementary
#2150B4 #B43B21 #9AB421
monochromatic
#0E224D #183980 #2150B4 #386CDA #6B92E4

Accessibility & contrast

On white

7.31
#2150B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2150B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2150B4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2150B4#FFFFFF#000000##FFFFFF
##2150B41.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2150b4;
/* rgb */ color: rgb(33, 80, 180);
/* oklch */ color: oklch(46.2% 0.167 262.7);
Tailwind
colors: {
  custom: {
    50: '#7680cb',
    500: '#2150b4',
    950: '#000000',
  },
}
SCSS
$custom: #2150b4;
$custom-light: #7680cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2150b4",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 180
  },
  "hsl": {
    "h": 220.816,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46169,
    "c": 0.16725,
    "h": 262.7
  },
  "luminance": 0.09356
}

Semantic roles & 50–950 ramp

primary
#2150B4
secondary
#CAAA67
accent
#B43CEC
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2150B4

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

Preview Lab → · Contrast checker → · Palette generator →

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