#2D498D#2D498D

#2D498D is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.1% C 0.118 H 264.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2D498D
RGBrgb(45, 73, 141)
HSLhsl(223, 52%, 36%)
HSVhsv(223, 68%, 55%)
CMYKcmyk(68.1%, 48.2%, 0%, 44.7%)
CIE-LABlab(32.36, 13.12, -40.95)
CIE-LCHlch(32.36, 43.00, 287.77°)
OKLaboklab(42.14% -0.0104 -0.1172)
OKLCHoklch(42.14% 0.118 264.9)
XYZxyz(8.2708, 7.2453, 26.1567)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D498D #8D712D
analogous
#2D798D #2D498D #412D8D
triadic
#2D498D #8D2D49 #498D2D
tetradic
#2D498D #8D2D79 #8D712D #2D8D41
square
#2D498D #8D2D79 #8D712D #2D8D41
split-complementary
#2D498D #8D412D #798D2D
monochromatic
#0F1930 #1E315F #2D498D #3C61BB #6685CE

Accessibility & contrast

On white

8.57
#2D498D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2D498D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D498D
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D498D#FFFFFF#000000##FFFFFF
##2D498D1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265190
Deuteranopia (green-blind)
#12488C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d498d;
/* rgb */ color: rgb(45, 73, 141);
/* oklch */ color: oklch(42.1% 0.118 264.9);
Tailwind
colors: {
  custom: {
    50: '#717baf',
    500: '#2d498d',
    950: '#000000',
  },
}
SCSS
$custom: #2d498d;
$custom-light: #717baf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d498d",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 222.5,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42144,
    "c": 0.11768,
    "h": 264.9
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#2D498D
secondary
#B59C61
accent
#B24DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D498D

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

Preview Lab → · Contrast checker → · Palette generator →

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