#2148B3#2148B3

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

Color values

HEX#2148B3
RGBrgb(33, 72, 179)
HSLhsl(224, 69%, 42%)
HSVhsv(224, 82%, 70%)
CMYKcmyk(81.6%, 59.8%, 0%, 29.8%)
CIE-LABlab(34.42, 26.91, -60.53)
CIE-LCHlch(34.42, 66.24, 293.97°)
OKLaboklab(44.46% -0.0161 -0.175)
OKLCHoklch(44.46% 0.176 264.7)
XYZxyz(11.0784, 8.2114, 43.6402)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2148B3 #B38C21
analogous
#2191B3 #2148B3 #4321B3
triadic
#2148B3 #B32148 #48B321
tetradic
#2148B3 #B32191 #B38C21 #21B343
square
#2148B3 #B32191 #B38C21 #21B343
split-complementary
#2148B3 #B34321 #91B321
monochromatic
#0E1E4C #17337F #2148B3 #3763DA #6B8BE4

Accessibility & contrast

On white

7.95
#2148B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2148B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2148B3#FFFFFF#000000##FFFFFF
##2148B31.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2148b3;
/* rgb */ color: rgb(33, 72, 179);
/* oklch */ color: oklch(44.5% 0.176 264.7);
Tailwind
colors: {
  custom: {
    50: '#767acb',
    500: '#2148b3',
    950: '#000000',
  },
}
SCSS
$custom: #2148b3;
$custom-light: #767acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2148b3",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 223.973,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44461,
    "c": 0.17576,
    "h": 264.7
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#2148B3
secondary
#CAAF66
accent
#BD3CEC
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2148B3

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

Preview Lab → · Contrast checker → · Palette generator →

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