#2D498F#2D498F

#2D498F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.121 H 265.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2D498F
RGBrgb(45, 73, 143)
HSLhsl(223, 52%, 37%)
HSVhsv(223, 69%, 56%)
CMYKcmyk(68.5%, 49%, 0%, 43.9%)
CIE-LABlab(32.49, 13.88, -41.96)
CIE-LCHlch(32.49, 44.20, 288.31°)
OKLaboklab(42.29% -0.0101 -0.1202)
OKLCHoklch(42.29% 0.121 265.2)
XYZxyz(8.4209, 7.3053, 26.9476)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D498F #8F732D
analogous
#2D7A8F #2D498F #422D8F
triadic
#2D498F #8F2D49 #498F2D
tetradic
#2D498F #8F2D7A #8F732D #2D8F42
square
#2D498F #8F2D7A #8F732D #2D8F42
split-complementary
#2D498F #8F422D #7A8F2D
monochromatic
#101932 #1E3160 #2D498F #3C61BE #6785CF

Accessibility & contrast

On white

8.53
#2D498F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2D498F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D498F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D498F#FFFFFF#000000##FFFFFF
##2D498F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245192
Deuteranopia (green-blind)
#0E488E
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d498f;
/* rgb */ color: rgb(45, 73, 143);
/* oklch */ color: oklch(42.3% 0.121 265.2);
Tailwind
colors: {
  custom: {
    50: '#727bb0',
    500: '#2d498f',
    950: '#000000',
  },
}
SCSS
$custom: #2d498f;
$custom-light: #727bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d498f",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 222.857,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42289,
    "c": 0.12062,
    "h": 265.2
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#2D498F
secondary
#B69E62
accent
#B34CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2D498F

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

Preview Lab → · Contrast checker → · Palette generator →

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