#2155A0#2155A0

#2155A0 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.7% C 0.134 H 258.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2155A0
RGBrgb(33, 85, 160)
HSLhsl(215, 66%, 38%)
HSVhsv(215, 79%, 63%)
CMYKcmyk(79.4%, 46.9%, 0%, 37.3%)
CIE-LABlab(36.66, 10.75, -45.57)
CIE-LCHlch(36.66, 46.83, 283.28°)
OKLaboklab(45.72% -0.0275 -0.1308)
OKLCHoklch(45.72% 0.134 258.1)
XYZxyz(10.2185, 9.3572, 34.5185)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2155A0 #A06C21
analogous
#2194A0 #2155A0 #2C21A0
triadic
#2155A0 #A02155 #55A021
tetradic
#2155A0 #A02194 #A06C21 #21A02C
square
#2155A0 #A02194 #A06C21 #21A02C
split-complementary
#2155A0 #A02C21 #94A021
monochromatic
#0C1F3B #173A6D #2155A0 #2B70D3 #5E92DE

Accessibility & contrast

On white

7.31
#2155A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2155A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2155A0
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2155A0#FFFFFF#000000##FFFFFF
##2155A01.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA3
Deuteranopia (green-blind)
#0C519F
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2155a0;
/* rgb */ color: rgb(33, 85, 160);
/* oklch */ color: oklch(45.7% 0.134 258.1);
Tailwind
colors: {
  custom: {
    50: '#7084bd',
    500: '#2155a0',
    950: '#000000',
  },
}
SCSS
$custom: #2155a0;
$custom-light: #7084bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2155a0",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 160
  },
  "hsl": {
    "h": 215.433,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45721,
    "c": 0.13367,
    "h": 258.1
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#2155A0
secondary
#C2985B
accent
#A33FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2155A0

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

Preview Lab → · Contrast checker → · Palette generator →

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