#2150A6#2150A6

#2150A6 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.148 H 261.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2150A6
RGBrgb(33, 80, 166)
HSLhsl(219, 67%, 39%)
HSVhsv(219, 80%, 65%)
CMYKcmyk(80.1%, 51.8%, 0%, 34.9%)
CIE-LABlab(35.62, 16.46, -50.84)
CIE-LCHlch(35.62, 53.44, 287.94°)
OKLaboklab(45.05% -0.0226 -0.1464)
OKLCHoklch(45.05% 0.148 261.2)
XYZxyz(10.3763, 8.8126, 37.2231)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2150A6 #A67721
analogous
#2193A6 #2150A6 #3521A6
triadic
#2150A6 #A62150 #50A621
tetradic
#2150A6 #A62193 #A67721 #21A635
square
#2150A6 #A62193 #A67721 #21A635
split-complementary
#2150A6 #A63521 #93A621
monochromatic
#0D1F40 #173773 #2150A6 #2F6AD6 #628EE0

Accessibility & contrast

On white

7.60
#2150A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2150A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2150A6
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2150A6#FFFFFF#000000##FFFFFF
##2150A61.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175AA9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#006573
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2150a6;
/* rgb */ color: rgb(33, 80, 166);
/* oklch */ color: oklch(45.1% 0.148 261.2);
Tailwind
colors: {
  custom: {
    50: '#7280c1',
    500: '#2150a6',
    950: '#000000',
  },
}
SCSS
$custom: #2150a6;
$custom-light: #7280c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2150a6",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 166
  },
  "hsl": {
    "h": 218.797,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45053,
    "c": 0.14814,
    "h": 261.2
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

primary
#2150A6
secondary
#C5A05E
accent
#AD3EEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2150A6

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

Preview Lab → · Contrast checker → · Palette generator →

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