#2D498B#2D498B

#2D498B is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.0% C 0.115 H 264.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2D498B
RGBrgb(45, 73, 139)
HSLhsl(222, 51%, 36%)
HSVhsv(222, 68%, 55%)
CMYKcmyk(67.6%, 47.5%, 0%, 45.5%)
CIE-LABlab(32.23, 12.37, -39.94)
CIE-LCHlch(32.23, 41.81, 287.21°)
OKLaboklab(42% -0.0107 -0.1142)
OKLCHoklch(42% 0.115 264.7)
XYZxyz(8.1233, 7.1863, 25.3801)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D498B #8B6F2D
analogous
#2D788B #2D498B #402D8B
triadic
#2D498B #8B2D49 #498B2D
tetradic
#2D498B #8B2D78 #8B6F2D #2D8B40
square
#2D498B #8B2D78 #8B6F2D #2D8B40
split-complementary
#2D498B #8B402D #788B2D
monochromatic
#0F182F #1E315D #2D498B #3C61B9 #6584CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D498B#FFFFFF#000000##FFFFFF
##2D498B1.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)
#28508D
Deuteranopia (green-blind)
#16488A
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d498b;
/* rgb */ color: rgb(45, 73, 139);
/* oklch */ color: oklch(42.0% 0.115 264.7);
Tailwind
colors: {
  custom: {
    50: '#717bad',
    500: '#2d498b',
    950: '#000000',
  },
}
SCSS
$custom: #2d498b;
$custom-light: #717bad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d498b",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 222.128,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42001,
    "c": 0.11474,
    "h": 264.7
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

primary
#2D498B
secondary
#B49B60
accent
#B04DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D498B

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

Preview Lab → · Contrast checker → · Palette generator →

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