#2150AC#2150AC

#2150AC is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.156 H 262.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2150AC
RGBrgb(33, 80, 172)
HSLhsl(220, 68%, 40%)
HSVhsv(220, 81%, 67%)
CMYKcmyk(80.8%, 53.5%, 0%, 32.5%)
CIE-LABlab(36.06, 18.83, -53.71)
CIE-LCHlch(36.06, 56.92, 289.32°)
OKLaboklab(45.52% -0.0219 -0.1548)
OKLCHoklch(45.52% 0.156 262)
XYZxyz(10.9396, 9.0379, 40.1897)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2150AC #AC7D21
analogous
#2196AC #2150AC #3721AC
triadic
#2150AC #AC2150 #50AC21
tetradic
#2150AC #AC2196 #AC7D21 #21AC37
square
#2150AC #AC2196 #AC7D21 #21AC37
split-complementary
#2150AC #AC3721 #96AC21
monochromatic
#0D2045 #173879 #2150AC #326AD8 #6690E2

Accessibility & contrast

On white

7.48
#2150AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2150AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2150AC#FFFFFF#000000##FFFFFF
##2150AC1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075BAF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2150ac;
/* rgb */ color: rgb(33, 80, 172);
/* oklch */ color: oklch(45.5% 0.156 262.0);
Tailwind
colors: {
  custom: {
    50: '#7480c5',
    500: '#2150ac',
    950: '#000000',
  },
}
SCSS
$custom: #2150ac;
$custom-light: #7480c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2150ac",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 172
  },
  "hsl": {
    "h": 219.712,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45524,
    "c": 0.15639,
    "h": 262
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

primary
#2150AC
secondary
#C7A562
accent
#B03DEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2150AC

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

Preview Lab → · Contrast checker → · Palette generator →

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