#2E477A#2E477A

#2E477A is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.091 H 263.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2E477A
RGBrgb(46, 71, 122)
HSLhsl(220, 45%, 33%)
HSVhsv(220, 62%, 48%)
CMYKcmyk(62.3%, 41.8%, 0%, 52.2%)
CIE-LABlab(30.62, 7.54, -31.96)
CIE-LCHlch(30.62, 32.84, 283.28°)
OKLaboklab(40.44% -0.0108 -0.0908)
OKLCHoklch(40.44% 0.091 263.2)
XYZxyz(6.8916, 6.4919, 19.2985)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E477A #7A612E
analogous
#2E6D7A #2E477A #3B2E7A
triadic
#2E477A #7A2E47 #477A2E
tetradic
#2E477A #7A2E6D #7A612E #2E7A3B
square
#2E477A #7A2E6D #7A612E #2E7A3B
split-complementary
#2E477A #7A3B2E #6D7A2E
monochromatic
#0C1321 #1D2D4E #2E477A #3F61A6 #6080C3

Accessibility & contrast

On white

9.14
#2E477A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2E477A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E477A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E477A#FFFFFF#000000##FFFFFF
##2E477A1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#274579
Tritanopia (blue-blind)
#00525A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e477a;
/* rgb */ color: rgb(46, 71, 122);
/* oklch */ color: oklch(40.4% 0.091 263.2);
Tailwind
colors: {
  custom: {
    50: '#6e79a1',
    500: '#2e477a',
    950: '#000000',
  },
}
SCSS
$custom: #2e477a;
$custom-light: #6e79a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e477a",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 220.263,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40436,
    "c": 0.09149,
    "h": 263.2
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#2E477A
secondary
#AA8F5A
accent
#AA53D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #2E477A

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

Preview Lab → · Contrast checker → · Palette generator →

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