#2048C3#2048C3

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

Color values

HEX#2048C3
RGBrgb(32, 72, 195)
HSLhsl(225, 72%, 45%)
HSVhsv(225, 84%, 76%)
CMYKcmyk(83.6%, 63.1%, 0%, 23.5%)
CIE-LABlab(35.75, 32.95, -67.76)
CIE-LCHlch(35.75, 75.35, 295.93°)
OKLaboklab(45.87% -0.0166 -0.1962)
OKLCHoklch(45.87% 0.197 265.2)
XYZxyz(12.7599, 8.8804, 52.6607)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2048C3 #C39B20
analogous
#209AC3 #2048C3 #4A20C3
triadic
#2048C3 #C32048 #48C320
tetradic
#2048C3 #C3209A #C39B20 #20C34A
square
#2048C3 #C3209A #C39B20 #20C34A
split-complementary
#2048C3 #C34A20 #9AC320
monochromatic
#0F215A #17358E #2048C3 #4068E0 #7591E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2048C3#FFFFFF#000000##FFFFFF
##2048C31.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: #2048c3;
/* rgb */ color: rgb(32, 72, 195);
/* oklch */ color: oklch(45.9% 0.197 265.2);
Tailwind
colors: {
  custom: {
    50: '#7a7ad6',
    500: '#2048c3',
    950: '#000000',
  },
}
SCSS
$custom: #2048c3;
$custom-light: #7a7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#2048c3",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 195
  },
  "hsl": {
    "h": 225.276,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45866,
    "c": 0.19693,
    "h": 265.2
  },
  "luminance": 0.08882
}

Semantic roles & 50–950 ramp

primary
#2048C3
secondary
#CFB86F
accent
#C239EF
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2048C3

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

Preview Lab → · Contrast checker → · Palette generator →

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