#2148A4#2148A4

#2148A4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.155 H 263.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2148A4
RGBrgb(33, 72, 164)
HSLhsl(222, 66%, 39%)
HSVhsv(222, 80%, 64%)
CMYKcmyk(79.9%, 56.1%, 0%, 35.7%)
CIE-LABlab(33.22, 21.06, -53.54)
CIE-LCHlch(33.22, 57.54, 291.47°)
OKLaboklab(43.18% -0.0169 -0.1545)
OKLCHoklch(43.18% 0.155 263.8)
XYZxyz(9.6430, 7.6373, 36.0807)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2148A4 #A47D21
analogous
#2189A4 #2148A4 #3B21A4
triadic
#2148A4 #A42148 #48A421
tetradic
#2148A4 #A42189 #A47D21 #21A43B
square
#2148A4 #A42189 #A47D21 #21A43B
split-complementary
#2148A4 #A43B21 #89A421
monochromatic
#0C1B3E #173271 #2148A4 #2D5FD5 #6086DF

Accessibility & contrast

On white

8.31
#2148A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2148A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2148A4
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2148A4#FFFFFF#000000##FFFFFF
##2148A41.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2148a4;
/* rgb */ color: rgb(33, 72, 164);
/* oklch */ color: oklch(43.2% 0.155 263.8);
Tailwind
colors: {
  custom: {
    50: '#727ac0',
    500: '#2148a4',
    950: '#000000',
  },
}
SCSS
$custom: #2148a4;
$custom-light: #727ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2148a4",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 222.137,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4318,
    "c": 0.15543,
    "h": 263.8
  },
  "luminance": 0.07638
}

Semantic roles & 50–950 ramp

primary
#2148A4
secondary
#C4A55D
accent
#B63EE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2148A4

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

Preview Lab → · Contrast checker → · Palette generator →

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