#2D4C92#2D4C92

#2D4C92 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.121 H 264.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2D4C92
RGBrgb(45, 76, 146)
HSLhsl(222, 53%, 37%)
HSVhsv(222, 69%, 57%)
CMYKcmyk(69.2%, 47.9%, 0%, 42.7%)
CIE-LABlab(33.57, 13.01, -42.07)
CIE-LCHlch(33.57, 44.03, 287.18°)
OKLaboklab(43.17% -0.0126 -0.1205)
OKLCHoklch(43.17% 0.121 264)
XYZxyz(8.8531, 7.8012, 28.2278)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C92 #92732D
analogous
#2D7F92 #2D4C92 #402D92
triadic
#2D4C92 #922D4C #4C922D
tetradic
#2D4C92 #922D7F #92732D #2D9240
square
#2D4C92 #922D7F #92732D #2D9240
split-complementary
#2D4C92 #92402D #7F922D
monochromatic
#101B34 #1F3463 #2D4C92 #3B64C1 #6989D1

Accessibility & contrast

On white

8.20
#2D4C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2D4C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4C92
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4C92#FFFFFF#000000##FFFFFF
##2D4C921.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285495
Deuteranopia (green-blind)
#134B91
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d4c92;
/* rgb */ color: rgb(45, 76, 146);
/* oklch */ color: oklch(43.2% 0.121 264.0);
Tailwind
colors: {
  custom: {
    50: '#727db2',
    500: '#2d4c92',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c92;
$custom-light: #727db2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c92",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 146
  },
  "hsl": {
    "h": 221.584,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43174,
    "c": 0.12111,
    "h": 264
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#2D4C92
secondary
#B79E63
accent
#B04CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4C92

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

Preview Lab → · Contrast checker → · Palette generator →

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