#2150A4#2150A4

#2150A4 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.145 H 261.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2150A4
RGBrgb(33, 80, 164)
HSLhsl(218, 66%, 39%)
HSVhsv(218, 80%, 64%)
CMYKcmyk(79.9%, 51.2%, 0%, 35.7%)
CIE-LABlab(35.48, 15.67, -49.88)
CIE-LCHlch(35.48, 52.28, 287.44°)
OKLaboklab(44.9% -0.0228 -0.1436)
OKLCHoklch(44.9% 0.145 261)
XYZxyz(10.1943, 8.7398, 36.2644)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2150A4 #A47521
analogous
#2191A4 #2150A4 #3321A4
triadic
#2150A4 #A42150 #50A421
tetradic
#2150A4 #A42191 #A47521 #21A433
square
#2150A4 #A42191 #A47521 #21A433
split-complementary
#2150A4 #A43321 #91A421
monochromatic
#0C1E3E #173771 #2150A4 #2D69D5 #608EDF

Accessibility & contrast

On white

7.64
#2150A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2150A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2150A4
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2150A4#FFFFFF#000000##FFFFFF
##2150A41.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5AA7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2150a4;
/* rgb */ color: rgb(33, 80, 164);
/* oklch */ color: oklch(44.9% 0.145 261.0);
Tailwind
colors: {
  custom: {
    50: '#7280c0',
    500: '#2150a4',
    950: '#000000',
  },
}
SCSS
$custom: #2150a4;
$custom-light: #7280c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2150a4",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 164
  },
  "hsl": {
    "h": 218.473,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44899,
    "c": 0.14538,
    "h": 261
  },
  "luminance": 0.08741
}

Semantic roles & 50–950 ramp

primary
#2150A4
secondary
#C49F5D
accent
#AC3EE9
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2150A4

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

Preview Lab → · Contrast checker → · Palette generator →

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