#2C479B#2C479B

#2C479B is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.141 H 266.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2C479B
RGBrgb(44, 71, 155)
HSLhsl(225, 56%, 39%)
HSVhsv(225, 72%, 61%)
CMYKcmyk(71.6%, 54.2%, 0%, 39.2%)
CIE-LABlab(32.72, 19.64, -48.91)
CIE-LCHlch(32.72, 52.70, 291.88°)
OKLaboklab(42.72% -0.0077 -0.1407)
OKLCHoklch(42.72% 0.141 266.9)
XYZxyz(9.2063, 7.4076, 31.9486)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C479B #9B802C
analogous
#2C7F9B #2C479B #482C9B
triadic
#2C479B #9B2C47 #479B2C
tetradic
#2C479B #9B2C7F #9B802C #2C9B48
square
#2C479B #9B2C7F #9B802C #2C9B48
split-complementary
#2C479B #9B482C #7F9B2C
monochromatic
#111B3C #1E316B #2C479B #3C5EC8 #6C86D5

Accessibility & contrast

On white

8.46
#2C479B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2C479B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C479B
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C479B#FFFFFF#000000##FFFFFF
##2C479B1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A529E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c479b;
/* rgb */ color: rgb(44, 71, 155);
/* oklch */ color: oklch(42.7% 0.141 266.9);
Tailwind
colors: {
  custom: {
    50: '#7479b9',
    500: '#2c479b',
    950: '#000000',
  },
}
SCSS
$custom: #2c479b;
$custom-light: #7479b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c479b",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 225.405,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42716,
    "c": 0.14089,
    "h": 266.9
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#2C479B
secondary
#BCA767
accent
#BB49DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C479B

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

Preview Lab → · Contrast checker → · Palette generator →

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