#2150AA#2150AA

#2150AA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.154 H 261.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2150AA
RGBrgb(33, 80, 170)
HSLhsl(219, 67%, 40%)
HSVhsv(219, 81%, 67%)
CMYKcmyk(80.6%, 52.9%, 0%, 33.3%)
CIE-LABlab(35.91, 18.04, -52.76)
CIE-LCHlch(35.91, 55.76, 288.88°)
OKLaboklab(45.37% -0.0221 -0.152)
OKLCHoklch(45.37% 0.154 261.7)
XYZxyz(10.7489, 8.9617, 39.1857)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2150AA #AA7B21
analogous
#2195AA #2150AA #3621AA
triadic
#2150AA #AA2150 #50AA21
tetradic
#2150AA #AA2195 #AA7B21 #21AA36
square
#2150AA #AA2195 #AA7B21 #21AA36
split-complementary
#2150AA #AA3621 #95AA21
monochromatic
#0D2043 #173877 #2150AA #316AD7 #648FE1

Accessibility & contrast

On white

7.52
#2150AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2150AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2150AA#FFFFFF#000000##FFFFFF
##2150AA1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5BAD
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2150aa;
/* rgb */ color: rgb(33, 80, 170);
/* oklch */ color: oklch(45.4% 0.154 261.7);
Tailwind
colors: {
  custom: {
    50: '#7380c4',
    500: '#2150aa',
    950: '#000000',
  },
}
SCSS
$custom: #2150aa;
$custom-light: #7380c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2150aa",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 170
  },
  "hsl": {
    "h": 219.416,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45366,
    "c": 0.15365,
    "h": 261.7
  },
  "luminance": 0.08963
}

Semantic roles & 50–950 ramp

primary
#2150AA
secondary
#C6A361
accent
#AF3DEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2150AA

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

Preview Lab → · Contrast checker → · Palette generator →

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