#2D48A7#2D48A7

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

Color values

HEX#2D48A7
RGBrgb(45, 72, 167)
HSLhsl(227, 58%, 42%)
HSVhsv(227, 73%, 65%)
CMYKcmyk(73.1%, 56.9%, 0%, 34.5%)
CIE-LABlab(33.94, 23.66, -54.14)
CIE-LCHlch(33.94, 59.08, 293.61°)
OKLaboklab(43.94% -0.0068 -0.156)
OKLCHoklch(43.94% 0.156 267.5)
XYZxyz(10.3722, 7.9816, 37.5457)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D48A7 #A78C2D
analogous
#2D85A7 #2D48A7 #4F2DA7
triadic
#2D48A7 #A72D48 #48A72D
tetradic
#2D48A7 #A72D85 #A78C2D #2DA74F
square
#2D48A7 #A72D85 #A78C2D #2DA74F
split-complementary
#2D48A7 #A74F2D #85A72D
monochromatic
#131E47 #203377 #2D48A7 #4463CD #758BDA

Accessibility & contrast

On white

8.09
#2D48A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D48A7
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D48A7#FFFFFF#000000##FFFFFF
##2D48A71.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d48a7;
/* rgb */ color: rgb(45, 72, 167);
/* oklch */ color: oklch(43.9% 0.156 267.5);
Tailwind
colors: {
  custom: {
    50: '#777ac2',
    500: '#2d48a7',
    950: '#000000',
  },
}
SCSS
$custom: #2d48a7;
$custom-light: #777ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d48a7",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 167
  },
  "hsl": {
    "h": 226.721,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43939,
    "c": 0.15618,
    "h": 267.5
  },
  "luminance": 0.07983
}

Semantic roles & 50–950 ramp

primary
#2D48A7
secondary
#C1AF6E
accent
#BF47E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2D48A7

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

Preview Lab → · Contrast checker → · Palette generator →

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