#2150B2#2150B2

#2150B2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.165 H 262.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2150B2
RGBrgb(33, 80, 178)
HSLhsl(221, 69%, 41%)
HSVhsv(221, 81%, 70%)
CMYKcmyk(81.5%, 55.1%, 0%, 30.2%)
CIE-LABlab(36.51, 21.19, -56.54)
CIE-LCHlch(36.51, 60.38, 290.54°)
OKLaboklab(46.01% -0.0213 -0.1632)
OKLCHoklch(46.01% 0.165 262.6)
XYZxyz(11.5289, 9.2736, 43.2932)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2150B2 #B28321
analogous
#2199B2 #2150B2 #3B21B2
triadic
#2150B2 #B22150 #50B221
tetradic
#2150B2 #B22199 #B28321 #21B23B
square
#2150B2 #B22199 #B28321 #21B23B
split-complementary
#2150B2 #B23B21 #99B221
monochromatic
#0E224B #17397E #2150B2 #366BDA #6A91E3

Accessibility & contrast

On white

7.36
#2150B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2150B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2150B2#FFFFFF#000000##FFFFFF
##2150B21.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2150b2;
/* rgb */ color: rgb(33, 80, 178);
/* oklch */ color: oklch(46.0% 0.165 262.6);
Tailwind
colors: {
  custom: {
    50: '#7580ca',
    500: '#2150b2',
    950: '#000000',
  },
}
SCSS
$custom: #2150b2;
$custom-light: #7580ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2150b2",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 220.552,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46006,
    "c": 0.16456,
    "h": 262.6
  },
  "luminance": 0.09275
}

Semantic roles & 50–950 ramp

primary
#2150B2
secondary
#C9A966
accent
#B33CEC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2150B2

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

Preview Lab → · Contrast checker → · Palette generator →

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