#2148A1#2148A1

#2148A1 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.151 H 263.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2148A1
RGBrgb(33, 72, 161)
HSLhsl(222, 66%, 38%)
HSVhsv(222, 80%, 63%)
CMYKcmyk(79.5%, 55.3%, 0%, 36.9%)
CIE-LABlab(32.98, 19.88, -52.12)
CIE-LCHlch(32.98, 55.78, 290.88°)
OKLaboklab(42.93% -0.0171 -0.1503)
OKLCHoklch(42.93% 0.151 263.5)
XYZxyz(9.3753, 7.5302, 34.6707)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2148A1 #A17A21
analogous
#2188A1 #2148A1 #3A21A1
triadic
#2148A1 #A12148 #48A121
tetradic
#2148A1 #A12188 #A17A21 #21A13A
square
#2148A1 #A12188 #A17A21 #21A13A
split-complementary
#2148A1 #A13A21 #88A121
monochromatic
#0C1B3B #17316E #2148A1 #2C5FD4 #5E85DE

Accessibility & contrast

On white

8.38
#2148A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2148A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2148A1#FFFFFF#000000##FFFFFF
##2148A11.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2148a1;
/* rgb */ color: rgb(33, 72, 161);
/* oklch */ color: oklch(42.9% 0.151 263.5);
Tailwind
colors: {
  custom: {
    50: '#717abd',
    500: '#2148a1',
    950: '#000000',
  },
}
SCSS
$custom: #2148a1;
$custom-light: #717abd;
$custom-dark: #000000;
JSON
{
  "hex": "#2148a1",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 161
  },
  "hsl": {
    "h": 221.719,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42933,
    "c": 0.15129,
    "h": 263.5
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#2148A1
secondary
#C3A35B
accent
#B53FE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2148A1

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

Preview Lab → · Contrast checker → · Palette generator →

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