#2D488D#2D488D

#2D488D is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.119 H 265.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2D488D
RGBrgb(45, 72, 141)
HSLhsl(223, 52%, 36%)
HSVhsv(223, 68%, 55%)
CMYKcmyk(68.1%, 48.9%, 0%, 44.7%)
CIE-LABlab(32.07, 13.80, -41.42)
CIE-LCHlch(32.07, 43.66, 288.42°)
OKLaboklab(41.92% -0.0093 -0.1186)
OKLCHoklch(41.92% 0.119 265.5)
XYZxyz(8.2056, 7.1149, 26.1350)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D488D #8D722D
analogous
#2D788D #2D488D #422D8D
triadic
#2D488D #8D2D48 #488D2D
tetradic
#2D488D #8D2D78 #8D722D #2D8D42
square
#2D488D #8D2D78 #8D722D #2D8D42
split-complementary
#2D488D #8D422D #788D2D
monochromatic
#0F1930 #1E305F #2D488D #3C60BB #6683CE

Accessibility & contrast

On white

8.67
#2D488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2D488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D488D
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D488D#FFFFFF#000000##FFFFFF
##2D488D1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#0F478C
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d488d;
/* rgb */ color: rgb(45, 72, 141);
/* oklch */ color: oklch(41.9% 0.119 265.5);
Tailwind
colors: {
  custom: {
    50: '#717aaf',
    500: '#2d488d',
    950: '#000000',
  },
}
SCSS
$custom: #2d488d;
$custom-light: #717aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d488d",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 223.125,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41921,
    "c": 0.11899,
    "h": 265.5
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

primary
#2D488D
secondary
#B59D61
accent
#B34DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D488D

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

Preview Lab → · Contrast checker → · Palette generator →

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