#2D48A5#2D48A5

#2D48A5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.153 H 267.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2D48A5
RGBrgb(45, 72, 165)
HSLhsl(227, 57%, 41%)
HSVhsv(227, 73%, 65%)
CMYKcmyk(72.7%, 56.4%, 0%, 35.3%)
CIE-LABlab(33.79, 22.90, -53.19)
CIE-LCHlch(33.79, 57.91, 293.30°)
OKLaboklab(43.78% -0.007 -0.1532)
OKLCHoklch(43.78% 0.153 267.4)
XYZxyz(10.1887, 7.9082, 36.5795)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D48A5 #A58A2D
analogous
#2D84A5 #2D48A5 #4E2DA5
triadic
#2D48A5 #A52D48 #48A52D
tetradic
#2D48A5 #A52D84 #A58A2D #2DA54E
square
#2D48A5 #A52D84 #A58A2D #2DA54E
split-complementary
#2D48A5 #A54E2D #84A52D
monochromatic
#131E45 #203375 #2D48A5 #4362CC #738AD9

Accessibility & contrast

On white

8.13
#2D48A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2D48A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D48A5
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D48A5#FFFFFF#000000##FFFFFF
##2D48A51.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d48a5;
/* rgb */ color: rgb(45, 72, 165);
/* oklch */ color: oklch(43.8% 0.153 267.4);
Tailwind
colors: {
  custom: {
    50: '#767ac0',
    500: '#2d48a5',
    950: '#000000',
  },
}
SCSS
$custom: #2d48a5;
$custom-light: #767ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d48a5",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 226.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43776,
    "c": 0.1534,
    "h": 267.4
  },
  "luminance": 0.07909
}

Semantic roles & 50–950 ramp

primary
#2D48A5
secondary
#C1AE6D
accent
#BE47E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2D48A5

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

Preview Lab → · Contrast checker → · Palette generator →

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