#2C427E#2C427E

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

Color values

HEX#2C427E
RGBrgb(44, 66, 126)
HSLhsl(224, 48%, 33%)
HSVhsv(224, 65%, 49%)
CMYKcmyk(65.1%, 47.6%, 0%, 50.6%)
CIE-LABlab(29.25, 12.01, -36.65)
CIE-LCHlch(29.25, 38.57, 288.14°)
OKLaboklab(39.44% -0.0064 -0.1047)
OKLCHoklch(39.44% 0.105 266.5)
XYZxyz(6.7515, 5.9377, 20.5249)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C427E #7E682C
analogous
#2C6B7E #2C427E #3F2C7E
triadic
#2C427E #7E2C42 #427E2C
tetradic
#2C427E #7E2C6B #7E682C #2C7E3F
square
#2C427E #7E2C6B #7E682C #2C7E3F
split-complementary
#2C427E #7E3F2C #6B7E2C
monochromatic
#0C1223 #1C2A51 #2C427E #3C5AAB #5E7AC7

Accessibility & contrast

On white

9.60
#2C427E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2C427E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C427E
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C427E#FFFFFF#000000##FFFFFF
##2C427E1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254980
Deuteranopia (green-blind)
#17417D
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c427e;
/* rgb */ color: rgb(44, 66, 126);
/* oklch */ color: oklch(39.4% 0.105 266.5);
Tailwind
colors: {
  custom: {
    50: '#6e76a4',
    500: '#2c427e',
    950: '#000000',
  },
}
SCSS
$custom: #2c427e;
$custom-light: #6e76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c427e",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 223.902,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39436,
    "c": 0.10491,
    "h": 266.5
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C427E

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

Preview Lab → · Contrast checker → · Palette generator →

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