#2150A2#2150A2

#2150A2 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.143 H 260.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2150A2
RGBrgb(33, 80, 162)
HSLhsl(218, 66%, 38%)
HSVhsv(218, 80%, 64%)
CMYKcmyk(79.6%, 50.6%, 0%, 36.5%)
CIE-LABlab(35.34, 14.88, -48.91)
CIE-LCHlch(35.34, 51.12, 286.92°)
OKLaboklab(44.75% -0.0231 -0.1407)
OKLCHoklch(44.75% 0.143 260.7)
XYZxyz(10.0151, 8.6681, 35.3207)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2150A2 #A27321
analogous
#2190A2 #2150A2 #3321A2
triadic
#2150A2 #A22150 #50A221
tetradic
#2150A2 #A22190 #A27321 #21A233
square
#2150A2 #A22190 #A27321 #21A233
split-complementary
#2150A2 #A23321 #90A221
monochromatic
#0C1E3C #17376F #2150A2 #2C69D4 #5F8DDE

Accessibility & contrast

On white

7.68
#2150A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2150A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2150A2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2150A2#FFFFFF#000000##FFFFFF
##2150A21.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E59A5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2150a2;
/* rgb */ color: rgb(33, 80, 162);
/* oklch */ color: oklch(44.7% 0.143 260.7);
Tailwind
colors: {
  custom: {
    50: '#7180be',
    500: '#2150a2',
    950: '#000000',
  },
}
SCSS
$custom: #2150a2;
$custom-light: #7180be;
$custom-dark: #000000;
JSON
{
  "hex": "#2150a2",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 218.14,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44746,
    "c": 0.14261,
    "h": 260.7
  },
  "luminance": 0.08669
}

Semantic roles & 50–950 ramp

primary
#2150A2
secondary
#C39D5C
accent
#AB3FE9
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2150A2

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

Preview Lab → · Contrast checker → · Palette generator →

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