#2D427C#2D427C

#2D427C is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.102 H 266.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2D427C
RGBrgb(45, 66, 124)
HSLhsl(224, 47%, 33%)
HSVhsv(224, 64%, 49%)
CMYKcmyk(63.7%, 46.8%, 0%, 51.4%)
CIE-LABlab(29.18, 11.46, -35.51)
CIE-LCHlch(29.18, 37.32, 287.89°)
OKLaboklab(39.35% -0.0057 -0.1013)
OKLCHoklch(39.35% 0.102 266.8)
XYZxyz(6.6673, 5.9090, 19.8541)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D427C #7C672D
analogous
#2D697C #2D427C #3F2D7C
triadic
#2D427C #7C2D42 #427C2D
tetradic
#2D427C #7C2D69 #7C672D #2D7C3F
square
#2D427C #7C2D69 #7C672D #2D7C3F
split-complementary
#2D427C #7C3F2D #697C2D
monochromatic
#0C1222 #1D2A4F #2D427C #3D5AA9 #5F7AC5

Accessibility & contrast

On white

9.62
#2D427C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2D427C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D427C
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D427C#FFFFFF#000000##FFFFFF
##2D427C1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27497E
Deuteranopia (green-blind)
#1A417B
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d427c;
/* rgb */ color: rgb(45, 66, 124);
/* oklch */ color: oklch(39.4% 0.102 266.8);
Tailwind
colors: {
  custom: {
    50: '#6e76a2',
    500: '#2d427c',
    950: '#000000',
  },
}
SCSS
$custom: #2d427c;
$custom-light: #6e76a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d427c",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 124
  },
  "hsl": {
    "h": 224.051,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39353,
    "c": 0.1015,
    "h": 266.8
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#2D427C
secondary
#AB955A
accent
#B351D6
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D427C

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

Preview Lab → · Contrast checker → · Palette generator →

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