#2C3C9D#2C3C9D

#2C3C9D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.158 H 270.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#2C3C9D
RGBrgb(44, 60, 157)
HSLhsl(232, 56%, 39%)
HSVhsv(232, 72%, 62%)
CMYKcmyk(72%, 61.8%, 0%, 38.4%)
CIE-LABlab(29.91, 27.77, -54.68)
CIE-LCHlch(29.91, 61.32, 296.92°)
OKLaboklab(40.67% 0.0014 -0.1578)
OKLCHoklch(40.67% 0.158 270.5)
XYZxyz(8.7383, 6.2006, 32.6281)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C9D #9D8D2C
analogous
#2C759D #2C3C9D #542C9D
triadic
#2C3C9D #9D2C3C #3C9D2C
tetradic
#2C3C9D #9D2C75 #9D8D2C #2C9D54
square
#2C3C9D #9D2C75 #9D8D2C #2C9D54
split-complementary
#2C3C9D #9D542C #759D2C
monochromatic
#11173D #1F2A6D #2C3C9D #3D51C9 #6D7CD6

Accessibility & contrast

On white

9.37
#2C3C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2C3C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C9D
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C9D#FFFFFF#000000##FFFFFF
##2C3C9D1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c3c9d;
/* rgb */ color: rgb(44, 60, 157);
/* oklch */ color: oklch(40.7% 0.158 270.5);
Tailwind
colors: {
  custom: {
    50: '#7571bb',
    500: '#2c3c9d',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c9d;
$custom-light: #7571bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c9d",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 157
  },
  "hsl": {
    "h": 231.504,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40667,
    "c": 0.1578,
    "h": 270.5
  },
  "luminance": 0.06202
}

Semantic roles & 50–950 ramp

primary
#2C3C9D
secondary
#BDB168
accent
#CA48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2C3C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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