#2D4285#2D4285

#2D4285 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 40.0% C 0.115 H 267.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2D4285
RGBrgb(45, 66, 133)
HSLhsl(226, 49%, 35%)
HSVhsv(226, 66%, 52%)
CMYKcmyk(66.2%, 50.4%, 0%, 47.8%)
CIE-LABlab(29.78, 14.84, -40.16)
CIE-LCHlch(29.78, 42.82, 290.28°)
OKLaboklab(40% -0.0043 -0.115)
OKLCHoklch(40% 0.115 267.8)
XYZxyz(7.2626, 6.1471, 22.9895)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4285 #85702D
analogous
#2D6E85 #2D4285 #442D85
triadic
#2D4285 #852D42 #42852D
tetradic
#2D4285 #852D6E #85702D #2D8544
square
#2D4285 #852D6E #85702D #2D8544
split-complementary
#2D4285 #85442D #6E852D
monochromatic
#0E152A #1E2B57 #2D4285 #3C59B3 #627BCA

Accessibility & contrast

On white

9.42
#2D4285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2D4285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4285
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4285#FFFFFF#000000##FFFFFF
##2D42851.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A87
Deuteranopia (green-blind)
#0A4284
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4285;
/* rgb */ color: rgb(45, 66, 133);
/* oklch */ color: oklch(40.0% 0.115 267.8);
Tailwind
colors: {
  custom: {
    50: '#7076a9',
    500: '#2d4285',
    950: '#000000',
  },
}
SCSS
$custom: #2d4285;
$custom-light: #7076a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4285",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 225.682,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40003,
    "c": 0.11509,
    "h": 267.8
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#2D4285
secondary
#B09D5D
accent
#B84FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D4285

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

Preview Lab → · Contrast checker → · Palette generator →

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