#2C48B3#2C48B3

#2C48B3 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.173 H 267.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2C48B3
RGBrgb(44, 72, 179)
HSLhsl(228, 61%, 44%)
HSVhsv(228, 75%, 70%)
CMYKcmyk(75.4%, 59.8%, 0%, 29.8%)
CIE-LABlab(34.85, 28.05, -59.81)
CIE-LCHlch(34.85, 66.06, 295.12°)
OKLaboklab(44.9% -0.0074 -0.1727)
OKLCHoklch(44.9% 0.173 267.6)
XYZxyz(11.4899, 8.4236, 43.6595)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48B3 #B3972C
analogous
#2C8BB3 #2C48B3 #542CB3
triadic
#2C48B3 #B32C48 #48B32C
tetradic
#2C48B3 #B32C8B #B3972C #2CB354
square
#2C48B3 #B32C8B #B3972C #2CB354
split-complementary
#2C48B3 #B3542C #8BB32C
monochromatic
#142051 #203482 #2C48B3 #4A66D2 #7B90DF

Accessibility & contrast

On white

7.82
#2C48B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2C48B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C48B3
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48B3#FFFFFF#000000##FFFFFF
##2C48B31.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c48b3;
/* rgb */ color: rgb(44, 72, 179);
/* oklch */ color: oklch(44.9% 0.173 267.6);
Tailwind
colors: {
  custom: {
    50: '#797acb',
    500: '#2c48b3',
    950: '#000000',
  },
}
SCSS
$custom: #2c48b3;
$custom-light: #797acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48b3",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 227.556,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44902,
    "c": 0.17287,
    "h": 267.6
  },
  "luminance": 0.08425
}

Semantic roles & 50–950 ramp

primary
#2C48B3
secondary
#C7B674
accent
#C344E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2C48B3

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

Preview Lab → · Contrast checker → · Palette generator →

#2C48B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva