#2D498C#2D498C

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

Color values

HEX#2D498C
RGBrgb(45, 73, 140)
HSLhsl(222, 51%, 36%)
HSVhsv(222, 68%, 55%)
CMYKcmyk(67.9%, 47.9%, 0%, 45.1%)
CIE-LABlab(32.29, 12.75, -40.44)
CIE-LCHlch(32.29, 42.40, 287.49°)
OKLaboklab(42.07% -0.0105 -0.1157)
OKLCHoklch(42.07% 0.116 264.8)
XYZxyz(8.1967, 7.2156, 25.7666)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D498C #8C702D
analogous
#2D798C #2D498C #412D8C
triadic
#2D498C #8C2D49 #498C2D
tetradic
#2D498C #8C2D79 #8C702D #2D8C41
square
#2D498C #8C2D79 #8C702D #2D8C41
split-complementary
#2D498C #8C412D #798C2D
monochromatic
#0F192F #1E315E #2D498C #3C61BA #6684CE

Accessibility & contrast

On white

8.60
#2D498C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D498C
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D498C#FFFFFF#000000##FFFFFF
##2D498C1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27518E
Deuteranopia (green-blind)
#14488B
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d498c;
/* rgb */ color: rgb(45, 73, 140);
/* oklch */ color: oklch(42.1% 0.116 264.8);
Tailwind
colors: {
  custom: {
    50: '#717bae',
    500: '#2d498c',
    950: '#000000',
  },
}
SCSS
$custom: #2d498c;
$custom-light: #717bae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d498c",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 140
  },
  "hsl": {
    "h": 222.316,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42072,
    "c": 0.11621,
    "h": 264.8
  },
  "luminance": 0.07216
}

Semantic roles & 50–950 ramp

primary
#2D498C
secondary
#B49C60
accent
#B14DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D498C

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

Preview Lab → · Contrast checker → · Palette generator →

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