#2C478E#2C478E

#2C478E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.122 H 265.7°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2C478E
RGBrgb(44, 71, 142)
HSLhsl(223, 53%, 36%)
HSVhsv(223, 69%, 56%)
CMYKcmyk(69%, 50%, 0%, 44.3%)
CIE-LABlab(31.79, 14.68, -42.48)
CIE-LCHlch(31.79, 44.94, 289.07°)
OKLaboklab(41.72% -0.0092 -0.1218)
OKLCHoklch(41.72% 0.122 265.7)
XYZxyz(8.1727, 6.9941, 26.5052)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C478E #8E732C
analogous
#2C788E #2C478E #422C8E
triadic
#2C478E #8E2C47 #478E2C
tetradic
#2C478E #8E2C78 #8E732C #2C8E42
square
#2C478E #8E2C78 #8E732C #2C8E42
split-complementary
#2C478E #8E422C #788E2C
monochromatic
#0F1831 #1E305F #2C478E #3A5EBD #6582CF

Accessibility & contrast

On white

8.75
#2C478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2C478E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C478E
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C478E#FFFFFF#000000##FFFFFF
##2C478E1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205091
Deuteranopia (green-blind)
#06478D
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c478e;
/* rgb */ color: rgb(44, 71, 142);
/* oklch */ color: oklch(41.7% 0.122 265.7);
Tailwind
colors: {
  custom: {
    50: '#7179af',
    500: '#2c478e',
    950: '#000000',
  },
}
SCSS
$custom: #2c478e;
$custom-light: #7179af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c478e",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 223.469,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4172,
    "c": 0.1221,
    "h": 265.7
  },
  "luminance": 0.06995
}

Semantic roles & 50–950 ramp

primary
#2C478E
secondary
#B69E60
accent
#B44CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C478E

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

Preview Lab → · Contrast checker → · Palette generator →

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