#2C3D9E#2C3D9E

#2C3D9E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.158 H 270.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2C3D9E
RGBrgb(44, 61, 158)
HSLhsl(231, 56%, 40%)
HSVhsv(231, 72%, 62%)
CMYKcmyk(72.2%, 61.4%, 0%, 38%)
CIE-LABlab(30.26, 27.47, -54.72)
CIE-LCHlch(30.26, 61.23, 296.66°)
OKLaboklab(40.95% 0.0006 -0.1579)
OKLCHoklch(40.95% 0.158 270.2)
XYZxyz(8.8769, 6.3407, 33.0972)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D9E #9E8D2C
analogous
#2C769E #2C3D9E #542C9E
triadic
#2C3D9E #9E2C3D #3D9E2C
tetradic
#2C3D9E #9E2C76 #9E8D2C #2C9E54
square
#2C3D9E #9E2C76 #9E8D2C #2C9E54
split-complementary
#2C3D9E #9E542C #769E2C
monochromatic
#11183E #1F2B6E #2C3D9E #3E53C9 #6E7DD7

Accessibility & contrast

On white

9.26
#2C3D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2C3D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D9E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D9E#FFFFFF#000000##FFFFFF
##2C3D9E1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3d9e;
/* rgb */ color: rgb(44, 61, 158);
/* oklch */ color: oklch(40.9% 0.158 270.2);
Tailwind
colors: {
  custom: {
    50: '#7572bb',
    500: '#2c3d9e',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d9e;
$custom-light: #7572bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d9e",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 158
  },
  "hsl": {
    "h": 231.053,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40948,
    "c": 0.15792,
    "h": 270.2
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#2C3D9E
secondary
#BEB168
accent
#C948E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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