#2D498E#2D498E

#2D498E is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.2% C 0.119 H 265.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#2D498E
RGBrgb(45, 73, 142)
HSLhsl(223, 52%, 37%)
HSVhsv(223, 68%, 56%)
CMYKcmyk(68.3%, 48.6%, 0%, 44.3%)
CIE-LABlab(32.43, 13.50, -41.46)
CIE-LCHlch(32.43, 43.60, 288.04°)
OKLaboklab(42.22% -0.0102 -0.1187)
OKLCHoklch(42.22% 0.119 265.1)
XYZxyz(8.3455, 7.2752, 26.5504)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D498E #8E722D
analogous
#2D7A8E #2D498E #412D8E
triadic
#2D498E #8E2D49 #498E2D
tetradic
#2D498E #8E2D7A #8E722D #2D8E41
square
#2D498E #8E2D7A #8E722D #2D8E41
split-complementary
#2D498E #8E412D #7A8E2D
monochromatic
#101931 #1E3160 #2D498E #3C61BC #6785CF

Accessibility & contrast

On white

8.55
#2D498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D498E
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D498E#FFFFFF#000000##FFFFFF
##2D498E1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255191
Deuteranopia (green-blind)
#10488D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d498e;
/* rgb */ color: rgb(45, 73, 142);
/* oklch */ color: oklch(42.2% 0.119 265.1);
Tailwind
colors: {
  custom: {
    50: '#717baf',
    500: '#2d498e',
    950: '#000000',
  },
}
SCSS
$custom: #2d498e;
$custom-light: #717baf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d498e",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 222.68,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42216,
    "c": 0.11915,
    "h": 265.1
  },
  "luminance": 0.07276
}

Semantic roles & 50–950 ramp

primary
#2D498E
secondary
#B59D61
accent
#B24CDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D498E

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

Preview Lab → · Contrast checker → · Palette generator →

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