#2C48A8#2C48A8

#2C48A8 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.158 H 267.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2C48A8
RGBrgb(44, 72, 168)
HSLhsl(226, 58%, 42%)
HSVhsv(226, 74%, 66%)
CMYKcmyk(73.8%, 57.1%, 0%, 34.1%)
CIE-LABlab(33.98, 23.90, -54.69)
CIE-LCHlch(33.98, 59.68, 293.61°)
OKLaboklab(43.97% -0.0077 -0.1577)
OKLCHoklch(43.97% 0.158 267.2)
XYZxyz(10.4215, 7.9963, 38.0324)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48A8 #A88C2C
analogous
#2C86A8 #2C48A8 #4E2CA8
triadic
#2C48A8 #A82C48 #48A82C
tetradic
#2C48A8 #A82C86 #A88C2C #2CA84E
square
#2C48A8 #A82C86 #A88C2C #2CA84E
split-complementary
#2C48A8 #A84E2C #86A82C
monochromatic
#131E47 #1F3378 #2C48A8 #4363CE #748BDB

Accessibility & contrast

On white

8.08
#2C48A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2C48A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C48A8
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48A8#FFFFFF#000000##FFFFFF
##2C48A81.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c48a8;
/* rgb */ color: rgb(44, 72, 168);
/* oklch */ color: oklch(44.0% 0.158 267.2);
Tailwind
colors: {
  custom: {
    50: '#777ac3',
    500: '#2c48a8',
    950: '#000000',
  },
}
SCSS
$custom: #2c48a8;
$custom-light: #777ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48a8",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 226.452,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43974,
    "c": 0.15786,
    "h": 267.2
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#2C48A8
secondary
#C2AF6E
accent
#BF46E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C48A8

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

Preview Lab → · Contrast checker → · Palette generator →

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