#2D48A3#2D48A3

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

Color values

HEX#2D48A3
RGBrgb(45, 72, 163)
HSLhsl(226, 57%, 41%)
HSVhsv(226, 72%, 64%)
CMYKcmyk(72.4%, 55.8%, 0%, 36.1%)
CIE-LABlab(33.64, 22.15, -52.23)
CIE-LCHlch(33.64, 56.74, 292.98°)
OKLaboklab(43.61% -0.0071 -0.1504)
OKLCHoklch(43.61% 0.151 267.3)
XYZxyz(10.0081, 7.8359, 35.6283)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D48A3 #A3882D
analogous
#2D83A3 #2D48A3 #4D2DA3
triadic
#2D48A3 #A32D48 #48A32D
tetradic
#2D48A3 #A32D83 #A3882D #2DA34D
square
#2D48A3 #A32D83 #A3882D #2DA34D
split-complementary
#2D48A3 #A34D2D #83A32D
monochromatic
#131E43 #203373 #2D48A3 #4262CB #728AD8

Accessibility & contrast

On white

8.18
#2D48A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2D48A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D48A3
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D48A3#FFFFFF#000000##FFFFFF
##2D48A31.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d48a3;
/* rgb */ color: rgb(45, 72, 163);
/* oklch */ color: oklch(43.6% 0.151 267.3);
Tailwind
colors: {
  custom: {
    50: '#767abf',
    500: '#2d48a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d48a3;
$custom-light: #767abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d48a3",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 163
  },
  "hsl": {
    "h": 226.271,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43613,
    "c": 0.15061,
    "h": 267.3
  },
  "luminance": 0.07837
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D48A3

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

Preview Lab → · Contrast checker → · Palette generator →

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