#2B477F#2B477F

#2B477F is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.100 H 262.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2B477F
RGBrgb(43, 71, 127)
HSLhsl(220, 49%, 33%)
HSVhsv(220, 66%, 50%)
CMYKcmyk(66.1%, 44.1%, 0%, 50.2%)
CIE-LABlab(30.76, 8.80, -34.86)
CIE-LCHlch(30.76, 35.96, 284.17°)
OKLaboklab(40.6% -0.0127 -0.0994)
OKLCHoklch(40.6% 0.1 262.7)
XYZxyz(7.0789, 6.5517, 20.9661)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B477F #7F632B
analogous
#2B717F #2B477F #392B7F
triadic
#2B477F #7F2B47 #477F2B
tetradic
#2B477F #7F2B71 #7F632B #2B7F39
square
#2B477F #7F2B71 #7F632B #2B7F39
split-complementary
#2B477F #7F392B #717F2B
monochromatic
#0C1424 #1C2D51 #2B477F #3A61AD #5C80C8

Accessibility & contrast

On white

9.09
#2B477F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2B477F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B477F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B477F#FFFFFF#000000##FFFFFF
##2B477F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4D81
Deuteranopia (green-blind)
#20457E
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b477f;
/* rgb */ color: rgb(43, 71, 127);
/* oklch */ color: oklch(40.6% 0.100 262.7);
Tailwind
colors: {
  custom: {
    50: '#6d79a4',
    500: '#2b477f',
    950: '#000000',
  },
}
SCSS
$custom: #2b477f;
$custom-light: #6d79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b477f",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 220,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40601,
    "c": 0.10022,
    "h": 262.7
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#2B477F
secondary
#AE9158
accent
#AB4FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B477F

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

Preview Lab → · Contrast checker → · Palette generator →

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