#2148A8#2148A8

#2148A8 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.161 H 264.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2148A8
RGBrgb(33, 72, 168)
HSLhsl(223, 67%, 39%)
HSVhsv(223, 80%, 66%)
CMYKcmyk(80.4%, 57.1%, 0%, 34.1%)
CIE-LABlab(33.53, 22.63, -55.43)
CIE-LCHlch(33.53, 59.88, 292.21°)
OKLaboklab(43.52% -0.0166 -0.1601)
OKLCHoklch(43.52% 0.161 264.1)
XYZxyz(10.0099, 7.7840, 38.0131)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2148A8 #A88121
analogous
#218BA8 #2148A8 #3E21A8
triadic
#2148A8 #A82148 #48A821
tetradic
#2148A8 #A8218B #A88121 #21A83E
square
#2148A8 #A8218B #A88121 #21A83E
split-complementary
#2148A8 #A83E21 #8BA821
monochromatic
#0D1C42 #173275 #2148A8 #3060D6 #6387E0

Accessibility & contrast

On white

8.21
#2148A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2148A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2148A8
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2148A8#FFFFFF#000000##FFFFFF
##2148A81.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2148a8;
/* rgb */ color: rgb(33, 72, 168);
/* oklch */ color: oklch(43.5% 0.161 264.1);
Tailwind
colors: {
  custom: {
    50: '#737ac3',
    500: '#2148a8',
    950: '#000000',
  },
}
SCSS
$custom: #2148a8;
$custom-light: #737ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2148a8",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 222.667,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43515,
    "c": 0.16092,
    "h": 264.1
  },
  "luminance": 0.07785
}

Semantic roles & 50–950 ramp

primary
#2148A8
secondary
#C5A85F
accent
#B83EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2148A8

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

Preview Lab → · Contrast checker → · Palette generator →

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