#2150C2#2150C2

#2150C2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.186 H 263.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2150C2
RGBrgb(33, 80, 194)
HSLhsl(222, 71%, 45%)
HSVhsv(222, 83%, 76%)
CMYKcmyk(83%, 58.8%, 0%, 23.9%)
CIE-LABlab(37.76, 27.40, -63.89)
CIE-LCHlch(37.76, 69.52, 293.21°)
OKLaboklab(47.34% -0.0203 -0.1848)
OKLCHoklch(47.34% 0.186 263.7)
XYZxyz(13.2300, 9.9541, 52.2525)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2150C2 #C29321
analogous
#21A1C2 #2150C2 #4221C2
triadic
#2150C2 #C22150 #50C221
tetradic
#2150C2 #C221A1 #C29321 #21C242
square
#2150C2 #C221A1 #C29321 #21C242
split-complementary
#2150C2 #C24221 #A1C221
monochromatic
#0F2559 #183A8E #2150C2 #416FDF #7697E8

Accessibility & contrast

On white

7.02
#2150C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2150C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2150C2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2150C2#FFFFFF#000000##FFFFFF
##2150C21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0052C0
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2150c2;
/* rgb */ color: rgb(33, 80, 194);
/* oklch */ color: oklch(47.3% 0.186 263.7);
Tailwind
colors: {
  custom: {
    50: '#7980d5',
    500: '#2150c2',
    950: '#000000',
  },
}
SCSS
$custom: #2150c2;
$custom-light: #7980d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2150c2",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 222.484,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47343,
    "c": 0.18588,
    "h": 263.7
  },
  "luminance": 0.09956
}

Semantic roles & 50–950 ramp

primary
#2150C2
secondary
#CFB370
accent
#B93AEE
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2150C2

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

Preview Lab → · Contrast checker → · Palette generator →

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