#2D48A8#2D48A8

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

Color values

HEX#2D48A8
RGBrgb(45, 72, 168)
HSLhsl(227, 58%, 42%)
HSVhsv(227, 73%, 66%)
CMYKcmyk(73.2%, 57.1%, 0%, 34.1%)
CIE-LABlab(34.02, 24.03, -54.61)
CIE-LCHlch(34.02, 59.66, 293.76°)
OKLaboklab(44.02% -0.0068 -0.1574)
OKLCHoklch(44.02% 0.158 267.5)
XYZxyz(10.4650, 8.0187, 38.0344)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D48A8 #A88D2D
analogous
#2D86A8 #2D48A8 #502DA8
triadic
#2D48A8 #A82D48 #48A82D
tetradic
#2D48A8 #A82D86 #A88D2D #2DA850
square
#2D48A8 #A82D86 #A88D2D #2DA850
split-complementary
#2D48A8 #A8502D #86A82D
monochromatic
#131F47 #203378 #2D48A8 #4563CD #758BDA

Accessibility & contrast

On white

8.06
#2D48A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D48A8
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D48A8#FFFFFF#000000##FFFFFF
##2D48A81.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d48a8;
/* rgb */ color: rgb(45, 72, 168);
/* oklch */ color: oklch(44.0% 0.158 267.5);
Tailwind
colors: {
  custom: {
    50: '#777ac3',
    500: '#2d48a8',
    950: '#000000',
  },
}
SCSS
$custom: #2d48a8;
$custom-light: #777ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d48a8",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 226.829,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44022,
    "c": 0.15757,
    "h": 267.5
  },
  "luminance": 0.0802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D48A8

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

Preview Lab → · Contrast checker → · Palette generator →

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