#2D48A2#2D48A2

#2D48A2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.149 H 267.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2D48A2
RGBrgb(45, 72, 162)
HSLhsl(226, 57%, 41%)
HSVhsv(226, 72%, 64%)
CMYKcmyk(72.2%, 55.6%, 0%, 36.5%)
CIE-LABlab(33.56, 21.77, -51.76)
CIE-LCHlch(33.56, 56.15, 292.81°)
OKLaboklab(43.53% -0.0071 -0.149)
OKLCHoklch(43.53% 0.149 267.3)
XYZxyz(9.9189, 7.8002, 35.1583)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D48A2 #A2872D
analogous
#2D82A2 #2D48A2 #4C2DA2
triadic
#2D48A2 #A22D48 #48A22D
tetradic
#2D48A2 #A22D82 #A2872D #2DA24C
square
#2D48A2 #A22D82 #A2872D #2DA24C
split-complementary
#2D48A2 #A24C2D #82A22D
monochromatic
#121D42 #203372 #2D48A2 #4261CA #7289D8

Accessibility & contrast

On white

8.20
#2D48A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2D48A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D48A2
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D48A2#FFFFFF#000000##FFFFFF
##2D48A21.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d48a2;
/* rgb */ color: rgb(45, 72, 162);
/* oklch */ color: oklch(43.5% 0.149 267.3);
Tailwind
colors: {
  custom: {
    50: '#767abe',
    500: '#2d48a2',
    950: '#000000',
  },
}
SCSS
$custom: #2d48a2;
$custom-light: #767abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2d48a2",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 226.154,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43533,
    "c": 0.1492,
    "h": 267.3
  },
  "luminance": 0.07801
}

Semantic roles & 50–950 ramp

primary
#2D48A2
secondary
#BFAC6C
accent
#BD48E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2D48A2

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

Preview Lab → · Contrast checker → · Palette generator →

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