#2148C3#2148C3

#2148C3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.197 H 265.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2148C3
RGBrgb(33, 72, 195)
HSLhsl(226, 71%, 45%)
HSVhsv(226, 83%, 76%)
CMYKcmyk(83.1%, 63.1%, 0%, 23.5%)
CIE-LABlab(35.78, 33.02, -67.71)
CIE-LCHlch(35.78, 75.33, 296.00°)
OKLaboklab(45.9% -0.0159 -0.1961)
OKLCHoklch(45.9% 0.197 265.4)
XYZxyz(12.7914, 8.8966, 52.6622)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2148C3 #C39C21
analogous
#2199C3 #2148C3 #4B21C3
triadic
#2148C3 #C32148 #48C321
tetradic
#2148C3 #C32199 #C39C21 #21C34B
square
#2148C3 #C32199 #C39C21 #21C34B
split-complementary
#2148C3 #C34B21 #99C321
monochromatic
#0F215A #18358F #2148C3 #4268DF #7792E8

Accessibility & contrast

On white

7.56
#2148C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2148C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2148C3#FFFFFF#000000##FFFFFF
##2148C31.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#004DC1
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2148c3;
/* rgb */ color: rgb(33, 72, 195);
/* oklch */ color: oklch(45.9% 0.197 265.4);
Tailwind
colors: {
  custom: {
    50: '#7a7ad6',
    500: '#2148c3',
    950: '#000000',
  },
}
SCSS
$custom: #2148c3;
$custom-light: #7a7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#2148c3",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 195
  },
  "hsl": {
    "h": 225.556,
    "s": 71.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.19671,
    "h": 265.4
  },
  "luminance": 0.08898
}

Semantic roles & 50–950 ramp

primary
#2148C3
secondary
#CFB871
accent
#C33AEE
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2148C3

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

Preview Lab → · Contrast checker → · Palette generator →

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