#2C3F84#2C3F84

#2C3F84 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.118 H 268.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#2C3F84
RGBrgb(44, 63, 132)
HSLhsl(227, 50%, 35%)
HSVhsv(227, 67%, 52%)
CMYKcmyk(66.7%, 52.3%, 0%, 48.2%)
CIE-LABlab(28.79, 16.33, -41.14)
CIE-LCHlch(28.79, 44.26, 291.65°)
OKLaboklab(39.21% -0.0024 -0.118)
OKLCHoklch(39.21% 0.118 268.8)
XYZxyz(6.9797, 5.7558, 22.5685)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F84 #84712C
analogous
#2C6B84 #2C3F84 #452C84
triadic
#2C3F84 #842C3F #3F842C
tetradic
#2C3F84 #842C6B #84712C #2C8445
square
#2C3F84 #842C6B #84712C #2C8445
split-complementary
#2C3F84 #84452C #6B842C
monochromatic
#0D1328 #1D2956 #2C3F84 #3B55B2 #6077CA

Accessibility & contrast

On white

9.76
#2C3F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C3F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3F84
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F84#FFFFFF#000000##FFFFFF
##2C3F841.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184886
Deuteranopia (green-blind)
#004083
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c3f84;
/* rgb */ color: rgb(44, 63, 132);
/* oklch */ color: oklch(39.2% 0.118 268.8);
Tailwind
colors: {
  custom: {
    50: '#6f73a8',
    500: '#2c3f84',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f84;
$custom-light: #6f73a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f84",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 132
  },
  "hsl": {
    "h": 227.045,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39212,
    "c": 0.11798,
    "h": 268.8
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#2C3F84
secondary
#B09E5C
accent
#BB4EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C3F84

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

Preview Lab → · Contrast checker → · Palette generator →

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