#2C3C9E#2C3C9E

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

Color values

HEX#2C3C9E
RGBrgb(44, 60, 158)
HSLhsl(232, 56%, 40%)
HSVhsv(232, 72%, 62%)
CMYKcmyk(72.2%, 62%, 0%, 38%)
CIE-LABlab(30.00, 28.14, -55.14)
CIE-LCHlch(30.00, 61.91, 297.03°)
OKLaboklab(40.76% 0.0014 -0.1592)
OKLCHoklch(40.76% 0.159 270.5)
XYZxyz(8.8240, 6.2349, 33.0795)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C9E #9E8E2C
analogous
#2C759E #2C3C9E #552C9E
triadic
#2C3C9E #9E2C3C #3C9E2C
tetradic
#2C3C9E #9E2C75 #9E8E2C #2C9E55
square
#2C3C9E #9E2C75 #9E8E2C #2C9E55
split-complementary
#2C3C9E #9E552C #759E2C
monochromatic
#11183E #1F2A6E #2C3C9E #3E52C9 #6E7DD7

Accessibility & contrast

On white

9.34
#2C3C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2C3C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C9E
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C9E#FFFFFF#000000##FFFFFF
##2C3C9E1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c3c9e;
/* rgb */ color: rgb(44, 60, 158);
/* oklch */ color: oklch(40.8% 0.159 270.5);
Tailwind
colors: {
  custom: {
    50: '#7571bb',
    500: '#2c3c9e',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c9e;
$custom-light: #7571bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c9e",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 158
  },
  "hsl": {
    "h": 231.579,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40756,
    "c": 0.15918,
    "h": 270.5
  },
  "luminance": 0.06236
}

Semantic roles & 50–950 ramp

primary
#2C3C9E
secondary
#BEB268
accent
#CA48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C3C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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