#2D48AF#2D48AF

#2D48AF is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.167 H 267.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2D48AF
RGBrgb(45, 72, 175)
HSLhsl(228, 59%, 43%)
HSVhsv(228, 74%, 69%)
CMYKcmyk(74.3%, 58.9%, 0%, 31.4%)
CIE-LABlab(34.57, 26.67, -57.89)
CIE-LCHlch(34.57, 63.73, 294.73°)
OKLaboklab(44.61% -0.0066 -0.167)
OKLCHoklch(44.61% 0.167 267.8)
XYZxyz(11.1347, 8.2866, 41.5618)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D48AF #AF942D
analogous
#2D89AF #2D48AF #532DAF
triadic
#2D48AF #AF2D48 #48AF2D
tetradic
#2D48AF #AF2D89 #AF942D #2DAF53
square
#2D48AF #AF2D89 #AF942D #2DAF53
split-complementary
#2D48AF #AF532D #89AF2D
monochromatic
#14204E #20347E #2D48AF #4965D0 #7A8EDD

Accessibility & contrast

On white

7.90
#2D48AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2D48AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D48AF
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D48AF#FFFFFF#000000##FFFFFF
##2D48AF1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d48af;
/* rgb */ color: rgb(45, 72, 175);
/* oklch */ color: oklch(44.6% 0.167 267.8);
Tailwind
colors: {
  custom: {
    50: '#797ac8',
    500: '#2d48af',
    950: '#000000',
  },
}
SCSS
$custom: #2d48af;
$custom-light: #797ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d48af",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 227.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44607,
    "c": 0.16718,
    "h": 267.8
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#2D48AF
secondary
#C5B473
accent
#C246E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D48AF

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

Preview Lab → · Contrast checker → · Palette generator →

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