#2150A0#2150A0

#2150A0 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.140 H 260.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2150A0
RGBrgb(33, 80, 160)
HSLhsl(218, 66%, 38%)
HSVhsv(218, 79%, 63%)
CMYKcmyk(79.4%, 50%, 0%, 37.3%)
CIE-LABlab(35.20, 14.09, -47.93)
CIE-LCHlch(35.20, 49.96, 286.38°)
OKLaboklab(44.6% -0.0234 -0.1378)
OKLCHoklch(44.6% 0.14 260.4)
XYZxyz(9.8387, 8.5976, 34.3918)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2150A0 #A07121
analogous
#218FA0 #2150A0 #3121A0
triadic
#2150A0 #A02150 #50A021
tetradic
#2150A0 #A0218F #A07121 #21A031
square
#2150A0 #A0218F #A07121 #21A031
split-complementary
#2150A0 #A03121 #8FA021
monochromatic
#0C1D3B #17376D #2150A0 #2B69D3 #5E8DDE

Accessibility & contrast

On white

7.72
#2150A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2150A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2150A0
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2150A0#FFFFFF#000000##FFFFFF
##2150A01.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A3
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2150a0;
/* rgb */ color: rgb(33, 80, 160);
/* oklch */ color: oklch(44.6% 0.140 260.4);
Tailwind
colors: {
  custom: {
    50: '#7180bd',
    500: '#2150a0',
    950: '#000000',
  },
}
SCSS
$custom: #2150a0;
$custom-light: #7180bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2150a0",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 160
  },
  "hsl": {
    "h": 217.795,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44595,
    "c": 0.13982,
    "h": 260.4
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#2150A0
secondary
#C29C5B
accent
#AA3FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2150A0

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

Preview Lab → · Contrast checker → · Palette generator →

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