#2148AC#2148AC

#2148AC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.166 H 264.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2148AC
RGBrgb(33, 72, 172)
HSLhsl(223, 68%, 40%)
HSVhsv(223, 81%, 67%)
CMYKcmyk(80.8%, 58.1%, 0%, 32.5%)
CIE-LABlab(33.85, 24.20, -57.30)
CIE-LCHlch(33.85, 62.20, 292.89°)
OKLaboklab(43.85% -0.0164 -0.1655)
OKLCHoklch(43.85% 0.166 264.3)
XYZxyz(10.3883, 7.9354, 40.0059)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2148AC #AC8521
analogous
#218EAC #2148AC #3F21AC
triadic
#2148AC #AC2148 #48AC21
tetradic
#2148AC #AC218E #AC8521 #21AC3F
square
#2148AC #AC218E #AC8521 #21AC3F
split-complementary
#2148AC #AC3F21 #8EAC21
monochromatic
#0D1D45 #173379 #2148AC #3261D8 #6689E2

Accessibility & contrast

On white

8.12
#2148AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2148AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2148AC
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2148AC#FFFFFF#000000##FFFFFF
##2148AC1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2148ac;
/* rgb */ color: rgb(33, 72, 172);
/* oklch */ color: oklch(43.9% 0.166 264.3);
Tailwind
colors: {
  custom: {
    50: '#747ac6',
    500: '#2148ac',
    950: '#000000',
  },
}
SCSS
$custom: #2148ac;
$custom-light: #747ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2148ac",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 223.165,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43854,
    "c": 0.16636,
    "h": 264.3
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2148AC

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

Preview Lab → · Contrast checker → · Palette generator →

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