#2D427A#2D427A

#2D427A is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.2% C 0.098 H 266.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2D427A
RGBrgb(45, 66, 122)
HSLhsl(224, 46%, 33%)
HSVhsv(224, 63%, 48%)
CMYKcmyk(63.1%, 45.9%, 0%, 52.2%)
CIE-LABlab(29.05, 10.71, -34.46)
CIE-LCHlch(29.05, 36.09, 287.27°)
OKLaboklab(39.21% -0.0061 -0.0983)
OKLCHoklch(39.21% 0.098 266.5)
XYZxyz(6.5421, 5.8589, 19.1947)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D427A #7A652D
analogous
#2D697A #2D427A #3E2D7A
triadic
#2D427A #7A2D42 #427A2D
tetradic
#2D427A #7A2D69 #7A652D #2D7A3E
square
#2D427A #7A2D69 #7A652D #2D7A3E
split-complementary
#2D427A #7A3E2D #697A2D
monochromatic
#0C1221 #1D2A4D #2D427A #3D5AA7 #5E7AC4

Accessibility & contrast

On white

9.67
#2D427A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2D427A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D427A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D427A#FFFFFF#000000##FFFFFF
##2D427A1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487C
Deuteranopia (green-blind)
#1D4179
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d427a;
/* rgb */ color: rgb(45, 66, 122);
/* oklch */ color: oklch(39.2% 0.098 266.5);
Tailwind
colors: {
  custom: {
    50: '#6e76a1',
    500: '#2d427a',
    950: '#000000',
  },
}
SCSS
$custom: #2d427a;
$custom-light: #6e76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d427a",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 223.636,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39214,
    "c": 0.09845,
    "h": 266.5
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#2D427A
secondary
#AA9459
accent
#B252D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080F
muted
#7B7B7E

Preview Lab

Preview with #2D427A

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

Preview Lab → · Contrast checker → · Palette generator →

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