#2D488F#2D488F

#2D488F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.122 H 265.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2D488F
RGBrgb(45, 72, 143)
HSLhsl(223, 52%, 37%)
HSVhsv(223, 69%, 56%)
CMYKcmyk(68.5%, 49.7%, 0%, 43.9%)
CIE-LABlab(32.20, 14.56, -42.43)
CIE-LCHlch(32.20, 44.86, 288.94°)
OKLaboklab(42.07% -0.0091 -0.1216)
OKLCHoklch(42.07% 0.122 265.7)
XYZxyz(8.3558, 7.1750, 26.9258)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D488F #8F742D
analogous
#2D798F #2D488F #432D8F
triadic
#2D488F #8F2D48 #488F2D
tetradic
#2D488F #8F2D79 #8F742D #2D8F43
square
#2D488F #8F2D79 #8F742D #2D8F43
split-complementary
#2D488F #8F432D #798F2D
monochromatic
#101932 #1E3160 #2D488F #3C5FBE #6784CF

Accessibility & contrast

On white

8.62
#2D488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2D488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D488F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D488F#FFFFFF#000000##FFFFFF
##2D488F1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225092
Deuteranopia (green-blind)
#09488E
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d488f;
/* rgb */ color: rgb(45, 72, 143);
/* oklch */ color: oklch(42.1% 0.122 265.7);
Tailwind
colors: {
  custom: {
    50: '#727ab0',
    500: '#2d488f',
    950: '#000000',
  },
}
SCSS
$custom: #2d488f;
$custom-light: #727ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d488f",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 223.469,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42067,
    "c": 0.12193,
    "h": 265.7
  },
  "luminance": 0.07176
}

Semantic roles & 50–950 ramp

primary
#2D488F
secondary
#B69F62
accent
#B44CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2D488F

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

Preview Lab → · Contrast checker → · Palette generator →

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