#2D4F92#2D4F92

#2D4F92 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.9% C 0.117 H 262.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2D4F92
RGBrgb(45, 79, 146)
HSLhsl(220, 53%, 37%)
HSVhsv(220, 69%, 57%)
CMYKcmyk(69.2%, 45.9%, 0%, 42.7%)
CIE-LABlab(34.45, 11.00, -40.66)
CIE-LCHlch(34.45, 42.12, 285.14°)
OKLaboklab(43.85% -0.0156 -0.1163)
OKLCHoklch(43.85% 0.117 262.4)
XYZxyz(9.0646, 8.2243, 28.2983)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F92 #92702D
analogous
#2D8292 #2D4F92 #3D2D92
triadic
#2D4F92 #922D4F #4F922D
tetradic
#2D4F92 #922D82 #92702D #2D923D
square
#2D4F92 #922D82 #92702D #2D923D
split-complementary
#2D4F92 #923D2D #82922D
monochromatic
#101C34 #1F3663 #2D4F92 #3B68C1 #698CD1

Accessibility & contrast

On white

7.94
#2D4F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2D4F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F92
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F92#FFFFFF#000000##FFFFFF
##2D4F921.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5695
Deuteranopia (green-blind)
#1C4D91
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d4f92;
/* rgb */ color: rgb(45, 79, 146);
/* oklch */ color: oklch(43.9% 0.117 262.4);
Tailwind
colors: {
  custom: {
    50: '#727fb2',
    500: '#2d4f92',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f92;
$custom-light: #727fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f92",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 146
  },
  "hsl": {
    "h": 219.802,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4385,
    "c": 0.11731,
    "h": 262.4
  },
  "luminance": 0.08225
}

Semantic roles & 50–950 ramp

primary
#2D4F92
secondary
#B79B63
accent
#AC4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D4F92

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

Preview Lab → · Contrast checker → · Palette generator →

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