#2D477F#2D477F

#2D477F is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.099 H 263.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2D477F
RGBrgb(45, 71, 127)
HSLhsl(221, 48%, 34%)
HSVhsv(221, 65%, 50%)
CMYKcmyk(64.6%, 44.1%, 0%, 50.2%)
CIE-LABlab(30.87, 9.20, -34.69)
CIE-LCHlch(30.87, 35.89, 284.85°)
OKLaboklab(40.71% -0.0107 -0.0989)
OKLCHoklch(40.71% 0.099 263.8)
XYZxyz(7.1649, 6.5960, 20.9701)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D477F #7F652D
analogous
#2D707F #2D477F #3C2D7F
triadic
#2D477F #7F2D47 #477F2D
tetradic
#2D477F #7F2D70 #7F652D #2D7F3C
square
#2D477F #7F2D70 #7F652D #2D7F3C
split-complementary
#2D477F #7F3C2D #707F2D
monochromatic
#0D1425 #1D2E52 #2D477F #3D60AC #6080C7

Accessibility & contrast

On white

9.05
#2D477F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2D477F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D477F
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D477F#FFFFFF#000000##FFFFFF
##2D477F1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#21457E
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d477f;
/* rgb */ color: rgb(45, 71, 127);
/* oklch */ color: oklch(40.7% 0.099 263.8);
Tailwind
colors: {
  custom: {
    50: '#6e79a4',
    500: '#2d477f',
    950: '#000000',
  },
}
SCSS
$custom: #2d477f;
$custom-light: #6e79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d477f",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 220.976,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40711,
    "c": 0.09944,
    "h": 263.8
  },
  "luminance": 0.06597
}

Semantic roles & 50–950 ramp

primary
#2D477F
secondary
#AD935B
accent
#AD51D7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D477F

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

Preview Lab → · Contrast checker → · Palette generator →

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