#2148AB#2148AB

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

Color values

HEX#2148AB
RGBrgb(33, 72, 171)
HSLhsl(223, 68%, 40%)
HSVhsv(223, 81%, 67%)
CMYKcmyk(80.7%, 57.9%, 0%, 32.9%)
CIE-LABlab(33.77, 23.81, -56.84)
CIE-LCHlch(33.77, 61.62, 292.73°)
OKLaboklab(43.77% -0.0164 -0.1642)
OKLCHoklch(43.77% 0.165 264.3)
XYZxyz(10.2926, 7.8971, 39.5020)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2148AB #AB8421
analogous
#218DAB #2148AB #3F21AB
triadic
#2148AB #AB2148 #48AB21
tetradic
#2148AB #AB218D #AB8421 #21AB3F
square
#2148AB #AB218D #AB8421 #21AB3F
split-complementary
#2148AB #AB3F21 #8DAB21
monochromatic
#0D1D44 #173278 #2148AB #3261D7 #6588E1

Accessibility & contrast

On white

8.14
#2148AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2148AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2148AB#FFFFFF#000000##FFFFFF
##2148AB1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2148ab;
/* rgb */ color: rgb(33, 72, 171);
/* oklch */ color: oklch(43.8% 0.165 264.3);
Tailwind
colors: {
  custom: {
    50: '#747ac5',
    500: '#2148ab',
    950: '#000000',
  },
}
SCSS
$custom: #2148ab;
$custom-light: #747ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2148ab",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 223.043,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.43769,
    "c": 0.165,
    "h": 264.3
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2148AB

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

Preview Lab → · Contrast checker → · Palette generator →

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