#2D48A9#2D48A9

#2D48A9 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.159 H 267.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2D48A9
RGBrgb(45, 72, 169)
HSLhsl(227, 58%, 42%)
HSVhsv(227, 73%, 66%)
CMYKcmyk(73.4%, 57.4%, 0%, 33.7%)
CIE-LABlab(34.10, 24.41, -55.08)
CIE-LCHlch(34.10, 60.25, 293.90°)
OKLaboklab(44.1% -0.0068 -0.1588)
OKLCHoklch(44.1% 0.159 267.6)
XYZxyz(10.5585, 8.0561, 38.5269)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D48A9 #A98E2D
analogous
#2D86A9 #2D48A9 #502DA9
triadic
#2D48A9 #A92D48 #48A92D
tetradic
#2D48A9 #A92D86 #A98E2D #2DA950
square
#2D48A9 #A92D86 #A98E2D #2DA950
split-complementary
#2D48A9 #A9502D #86A92D
monochromatic
#131F48 #203379 #2D48A9 #4663CE #768CDA

Accessibility & contrast

On white

8.04
#2D48A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2D48A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D48A9
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D48A9#FFFFFF#000000##FFFFFF
##2D48A91.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d48a9;
/* rgb */ color: rgb(45, 72, 169);
/* oklch */ color: oklch(44.1% 0.159 267.6);
Tailwind
colors: {
  custom: {
    50: '#777ac3',
    500: '#2d48a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d48a9;
$custom-light: #777ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d48a9",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 169
  },
  "hsl": {
    "h": 226.935,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44104,
    "c": 0.15895,
    "h": 267.6
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#2D48A9
secondary
#C2B06F
accent
#C047E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D48A9

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

Preview Lab → · Contrast checker → · Palette generator →

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