#2148B2#2148B2

#2148B2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.174 H 264.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2148B2
RGBrgb(33, 72, 178)
HSLhsl(224, 69%, 41%)
HSVhsv(224, 81%, 70%)
CMYKcmyk(81.5%, 59.6%, 0%, 30.2%)
CIE-LABlab(34.34, 26.53, -60.07)
CIE-LCHlch(34.34, 65.67, 293.83°)
OKLaboklab(44.37% -0.0161 -0.1737)
OKLCHoklch(44.37% 0.174 264.7)
XYZxyz(10.9776, 8.1711, 43.1095)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2148B2 #B28B21
analogous
#2191B2 #2148B2 #4321B2
triadic
#2148B2 #B22148 #48B221
tetradic
#2148B2 #B22191 #B28B21 #21B243
square
#2148B2 #B22191 #B28B21 #21B243
split-complementary
#2148B2 #B24321 #91B221
monochromatic
#0E1E4B #17337E #2148B2 #3662DA #6A8BE3

Accessibility & contrast

On white

7.97
#2148B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2148B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2148B2#FFFFFF#000000##FFFFFF
##2148B21.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2148b2;
/* rgb */ color: rgb(33, 72, 178);
/* oklch */ color: oklch(44.4% 0.174 264.7);
Tailwind
colors: {
  custom: {
    50: '#767aca',
    500: '#2148b2',
    950: '#000000',
  },
}
SCSS
$custom: #2148b2;
$custom-light: #767aca;
$custom-dark: #000000;
JSON
{
  "hex": "#2148b2",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 223.862,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44373,
    "c": 0.17443,
    "h": 264.7
  },
  "luminance": 0.08172
}

Semantic roles & 50–950 ramp

primary
#2148B2
secondary
#C9AE66
accent
#BC3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2148B2

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

Preview Lab → · Contrast checker → · Palette generator →

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