#2C427D#2C427D

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

Color values

HEX#2C427D
RGBrgb(44, 66, 125)
HSLhsl(224, 48%, 33%)
HSVhsv(224, 65%, 49%)
CMYKcmyk(64.8%, 47.2%, 0%, 51%)
CIE-LABlab(29.19, 11.63, -36.13)
CIE-LCHlch(29.19, 37.96, 287.85°)
OKLaboklab(39.37% -0.0066 -0.1032)
OKLCHoklch(39.37% 0.103 266.4)
XYZxyz(6.6873, 5.9120, 20.1868)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C427D #7D672C
analogous
#2C6A7D #2C427D #3E2C7D
triadic
#2C427D #7D2C42 #427D2C
tetradic
#2C427D #7D2C6A #7D672C #2C7D3E
square
#2C427D #7D2C6A #7D672C #2C7D3E
split-complementary
#2C427D #7D3E2C #6A7D2C
monochromatic
#0C1222 #1C2A50 #2C427D #3C5AAA #5D7AC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C427D#FFFFFF#000000##FFFFFF
##2C427D1.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)
#26497F
Deuteranopia (green-blind)
#18417C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c427d;
/* rgb */ color: rgb(44, 66, 125);
/* oklch */ color: oklch(39.4% 0.103 266.4);
Tailwind
colors: {
  custom: {
    50: '#6e76a3',
    500: '#2c427d',
    950: '#000000',
  },
}
SCSS
$custom: #2c427d;
$custom-light: #6e76a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c427d",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 223.704,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39365,
    "c": 0.10339,
    "h": 266.4
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#2C427D
secondary
#AC9559
accent
#B350D8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2C427D

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

Preview Lab → · Contrast checker → · Palette generator →

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