#2A48A8#2A48A8

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

Color values

HEX#2A48A8
RGBrgb(42, 72, 168)
HSLhsl(226, 60%, 41%)
HSVhsv(226, 75%, 66%)
CMYKcmyk(75%, 57.1%, 0%, 34.1%)
CIE-LABlab(33.88, 23.65, -54.84)
CIE-LCHlch(33.88, 59.72, 293.33°)
OKLaboklab(43.88% -0.0095 -0.1582)
OKLCHoklch(43.88% 0.158 266.6)
XYZxyz(10.3376, 7.9530, 38.0285)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48A8 #A88A2A
analogous
#2A87A8 #2A48A8 #4B2AA8
triadic
#2A48A8 #A82A48 #48A82A
tetradic
#2A48A8 #A82A87 #A88A2A #2AA84B
square
#2A48A8 #A82A87 #A88A2A #2AA84B
split-complementary
#2A48A8 #A84B2A #87A82A
monochromatic
#121E46 #1E3377 #2A48A8 #4062CF #718ADB

Accessibility & contrast

On white

8.11
#2A48A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2A48A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48A8
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48A8#FFFFFF#000000##FFFFFF
##2A48A81.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.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: #2a48a8;
/* rgb */ color: rgb(42, 72, 168);
/* oklch */ color: oklch(43.9% 0.158 266.6);
Tailwind
colors: {
  custom: {
    50: '#767ac3',
    500: '#2a48a8',
    950: '#000000',
  },
}
SCSS
$custom: #2a48a8;
$custom-light: #767ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48a8",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 225.714,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43881,
    "c": 0.15843,
    "h": 266.6
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#2A48A8
secondary
#C3AE6B
accent
#BD45E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2A48A8

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

Preview Lab → · Contrast checker → · Palette generator →

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