#2148B4#2148B4

#2148B4 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.177 H 264.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2148B4
RGBrgb(33, 72, 180)
HSLhsl(224, 69%, 42%)
HSVhsv(224, 82%, 71%)
CMYKcmyk(81.7%, 60%, 0%, 29.4%)
CIE-LABlab(34.50, 27.30, -60.99)
CIE-LCHlch(34.50, 66.82, 294.12°)
OKLaboklab(44.55% -0.0161 -0.1764)
OKLCHoklch(44.55% 0.177 264.8)
XYZxyz(11.1799, 8.2520, 44.1747)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2148B4 #B48D21
analogous
#2192B4 #2148B4 #4421B4
triadic
#2148B4 #B42148 #48B421
tetradic
#2148B4 #B42192 #B48D21 #21B444
square
#2148B4 #B42192 #B48D21 #21B444
split-complementary
#2148B4 #B44421 #92B421
monochromatic
#0E1F4D #183380 #2148B4 #3863DA #6B8BE4

Accessibility & contrast

On white

7.92
#2148B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2148B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2148B4
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2148B4#FFFFFF#000000##FFFFFF
##2148B41.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2148b4;
/* rgb */ color: rgb(33, 72, 180);
/* oklch */ color: oklch(44.5% 0.177 264.8);
Tailwind
colors: {
  custom: {
    50: '#767acb',
    500: '#2148b4',
    950: '#000000',
  },
}
SCSS
$custom: #2148b4;
$custom-light: #767acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2148b4",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 180
  },
  "hsl": {
    "h": 224.082,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44548,
    "c": 0.17709,
    "h": 264.8
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

primary
#2148B4
secondary
#CAB067
accent
#BD3CEC
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2148B4

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

Preview Lab → · Contrast checker → · Palette generator →

#2148B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva