#2C3F79#2C3F79

#2C3F79 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.101 H 267.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2C3F79
RGBrgb(44, 63, 121)
HSLhsl(225, 47%, 32%)
HSVhsv(225, 64%, 47%)
CMYKcmyk(63.6%, 47.9%, 0%, 52.5%)
CIE-LABlab(28.04, 12.18, -35.47)
CIE-LCHlch(28.04, 37.50, 288.96°)
OKLaboklab(38.4% -0.0039 -0.1013)
OKLCHoklch(38.4% 0.101 267.8)
XYZxyz(6.2662, 5.4704, 18.8111)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F79 #79662C
analogous
#2C6679 #2C3F79 #402C79
triadic
#2C3F79 #792C3F #3F792C
tetradic
#2C3F79 #792C66 #79662C #2C7940
square
#2C3F79 #792C66 #79662C #2C7940
split-complementary
#2C3F79 #79402C #66792C
monochromatic
#0B101F #1C284C #2C3F79 #3C56A6 #5C75C4

Accessibility & contrast

On white

10.03
#2C3F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C3F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3F79
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F79#FFFFFF#000000##FFFFFF
##2C3F791.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467B
Deuteranopia (green-blind)
#173F78
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c3f79;
/* rgb */ color: rgb(44, 63, 121);
/* oklch */ color: oklch(38.4% 0.101 267.8);
Tailwind
colors: {
  custom: {
    50: '#6d73a0',
    500: '#2c3f79',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f79;
$custom-light: #6d73a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f79",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 121
  },
  "hsl": {
    "h": 225.195,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38397,
    "c": 0.10135,
    "h": 267.8
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#2C3F79
secondary
#AA9557
accent
#B651D6
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #2C3F79

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

Preview Lab → · Contrast checker → · Palette generator →

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