#2D4B85#2D4B85

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

Color values

HEX#2D4B85
RGBrgb(45, 75, 133)
HSLhsl(220, 49%, 35%)
HSVhsv(220, 66%, 52%)
CMYKcmyk(66.2%, 43.6%, 0%, 47.8%)
CIE-LABlab(32.44, 8.76, -35.90)
CIE-LCHlch(32.44, 36.95, 283.71°)
OKLaboklab(42.04% -0.0139 -0.1023)
OKLCHoklch(42.04% 0.103 262.3)
XYZxyz(7.8304, 7.2828, 23.1788)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4B85 #85672D
analogous
#2D7785 #2D4B85 #3B2D85
triadic
#2D4B85 #852D4B #4B852D
tetradic
#2D4B85 #852D77 #85672D #2D853B
square
#2D4B85 #852D77 #85672D #2D853B
split-complementary
#2D4B85 #853B2D #77852D
monochromatic
#0E172A #1E3157 #2D4B85 #3C65B3 #6286CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4B85#FFFFFF#000000##FFFFFF
##2D4B851.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)
#305187
Deuteranopia (green-blind)
#234984
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4b85;
/* rgb */ color: rgb(45, 75, 133);
/* oklch */ color: oklch(42.0% 0.103 262.3);
Tailwind
colors: {
  custom: {
    50: '#6f7ca9',
    500: '#2d4b85',
    950: '#000000',
  },
}
SCSS
$custom: #2d4b85;
$custom-light: #6f7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4b85",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 133
  },
  "hsl": {
    "h": 219.545,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42044,
    "c": 0.10329,
    "h": 262.3
  },
  "luminance": 0.07283
}

Semantic roles & 50–950 ramp

primary
#2D4B85
secondary
#B0945D
accent
#AA4FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4B85

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

Preview Lab → · Contrast checker → · Palette generator →

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