#2C48A6#2C48A6

#2C48A6 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.155 H 267.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2C48A6
RGBrgb(44, 72, 166)
HSLhsl(226, 58%, 41%)
HSVhsv(226, 73%, 65%)
CMYKcmyk(73.5%, 56.6%, 0%, 34.9%)
CIE-LABlab(33.82, 23.15, -53.74)
CIE-LCHlch(33.82, 58.51, 293.30°)
OKLaboklab(43.81% -0.0078 -0.1549)
OKLCHoklch(43.81% 0.155 267.1)
XYZxyz(10.2366, 7.9223, 37.0587)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48A6 #A68A2C
analogous
#2C85A6 #2C48A6 #4D2CA6
triadic
#2C48A6 #A62C48 #48A62C
tetradic
#2C48A6 #A62C85 #A68A2C #2CA64D
square
#2C48A6 #A62C85 #A68A2C #2CA64D
split-complementary
#2C48A6 #A64D2C #85A62C
monochromatic
#121E45 #1F3376 #2C48A6 #4262CD #738ADA

Accessibility & contrast

On white

8.13
#2C48A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2C48A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C48A6
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48A6#FFFFFF#000000##FFFFFF
##2C48A61.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c48a6;
/* rgb */ color: rgb(44, 72, 166);
/* oklch */ color: oklch(43.8% 0.155 267.1);
Tailwind
colors: {
  custom: {
    50: '#767ac1',
    500: '#2c48a6',
    950: '#000000',
  },
}
SCSS
$custom: #2c48a6;
$custom-light: #767ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48a6",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 166
  },
  "hsl": {
    "h": 226.23,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43809,
    "c": 0.15509,
    "h": 267.1
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#2C48A6
secondary
#C1AE6D
accent
#BE46E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C48A6

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

Preview Lab → · Contrast checker → · Palette generator →

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