#2148AA#2148AA

#2148AA is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.164 H 264.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2148AA
RGBrgb(33, 72, 170)
HSLhsl(223, 67%, 40%)
HSVhsv(223, 81%, 67%)
CMYKcmyk(80.6%, 57.6%, 0%, 33.3%)
CIE-LABlab(33.69, 23.42, -56.37)
CIE-LCHlch(33.69, 61.04, 292.56°)
OKLaboklab(43.68% -0.0165 -0.1628)
OKLCHoklch(43.68% 0.164 264.2)
XYZxyz(10.1977, 7.8591, 39.0019)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2148AA #AA8321
analogous
#218CAA #2148AA #3F21AA
triadic
#2148AA #AA2148 #48AA21
tetradic
#2148AA #AA218C #AA8321 #21AA3F
square
#2148AA #AA218C #AA8321 #21AA3F
split-complementary
#2148AA #AA3F21 #8CAA21
monochromatic
#0D1D43 #173277 #2148AA #3160D7 #6488E1

Accessibility & contrast

On white

8.16
#2148AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2148AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2148AA#FFFFFF#000000##FFFFFF
##2148AA1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2148aa;
/* rgb */ color: rgb(33, 72, 170);
/* oklch */ color: oklch(43.7% 0.164 264.2);
Tailwind
colors: {
  custom: {
    50: '#747ac4',
    500: '#2148aa',
    950: '#000000',
  },
}
SCSS
$custom: #2148aa;
$custom-light: #747ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2148aa",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 222.92,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43684,
    "c": 0.16364,
    "h": 264.2
  },
  "luminance": 0.0786
}

Semantic roles & 50–950 ramp

primary
#2148AA
secondary
#C6A961
accent
#B93DEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2148AA

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

Preview Lab → · Contrast checker → · Palette generator →

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