#2D488C#2D488C

#2D488C is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.118 H 265.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2D488C
RGBrgb(45, 72, 140)
HSLhsl(223, 51%, 36%)
HSVhsv(223, 68%, 55%)
CMYKcmyk(67.9%, 48.6%, 0%, 45.1%)
CIE-LABlab(32.00, 13.42, -40.91)
CIE-LCHlch(32.00, 43.06, 288.16°)
OKLaboklab(41.85% -0.0095 -0.1171)
OKLCHoklch(41.85% 0.118 265.4)
XYZxyz(8.1315, 7.0853, 25.7449)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D488C #8C712D
analogous
#2D788C #2D488C #422D8C
triadic
#2D488C #8C2D48 #488C2D
tetradic
#2D488C #8C2D78 #8C712D #2D8C42
square
#2D488C #8C2D78 #8C712D #2D8C42
split-complementary
#2D488C #8C422D #788C2D
monochromatic
#0F182F #1E305E #2D488C #3C60BA #6683CE

Accessibility & contrast

On white

8.69
#2D488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D488C
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D488C#FFFFFF#000000##FFFFFF
##2D488C1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508F
Deuteranopia (green-blind)
#11478B
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d488c;
/* rgb */ color: rgb(45, 72, 140);
/* oklch */ color: oklch(41.8% 0.118 265.4);
Tailwind
colors: {
  custom: {
    50: '#717aae',
    500: '#2d488c',
    950: '#000000',
  },
}
SCSS
$custom: #2d488c;
$custom-light: #717aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d488c",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 222.947,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41849,
    "c": 0.11751,
    "h": 265.4
  },
  "luminance": 0.07086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D488C

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

Preview Lab → · Contrast checker → · Palette generator →

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