#2148AD#2148AD

#2148AD is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.168 H 264.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2148AD
RGBrgb(33, 72, 173)
HSLhsl(223, 68%, 40%)
HSVhsv(223, 81%, 68%)
CMYKcmyk(80.9%, 58.4%, 0%, 32.2%)
CIE-LABlab(33.93, 24.59, -57.77)
CIE-LCHlch(33.93, 62.78, 293.06°)
OKLaboklab(43.94% -0.0163 -0.1669)
OKLCHoklch(43.94% 0.168 264.4)
XYZxyz(10.4847, 7.9739, 40.5136)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2148AD #AD8621
analogous
#218EAD #2148AD #4021AD
triadic
#2148AD #AD2148 #48AD21
tetradic
#2148AD #AD218E #AD8621 #21AD40
square
#2148AD #AD218E #AD8621 #21AD40
split-complementary
#2148AD #AD4021 #8EAD21
monochromatic
#0D1D46 #17337A #2148AD #3361D8 #6689E2

Accessibility & contrast

On white

8.09
#2148AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2148AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2148AD
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2148AD#FFFFFF#000000##FFFFFF
##2148AD1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#004AAB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2148ad;
/* rgb */ color: rgb(33, 72, 173);
/* oklch */ color: oklch(43.9% 0.168 264.4);
Tailwind
colors: {
  custom: {
    50: '#747ac6',
    500: '#2148ad',
    950: '#000000',
  },
}
SCSS
$custom: #2148ad;
$custom-light: #747ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2148ad",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 173
  },
  "hsl": {
    "h": 223.286,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4394,
    "c": 0.16771,
    "h": 264.4
  },
  "luminance": 0.07975
}

Semantic roles & 50–950 ramp

primary
#2148AD
secondary
#C7AB62
accent
#BA3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2148AD

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

Preview Lab → · Contrast checker → · Palette generator →

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