#2C3C9C#2C3C9C

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

Color values

HEX#2C3C9C
RGBrgb(44, 60, 156)
HSLhsl(231, 56%, 39%)
HSVhsv(231, 72%, 61%)
CMYKcmyk(71.8%, 61.5%, 0%, 38.8%)
CIE-LABlab(29.83, 27.39, -54.21)
CIE-LCHlch(29.83, 60.73, 296.81°)
OKLaboklab(40.58% 0.0014 -0.1564)
OKLCHoklch(40.58% 0.156 270.5)
XYZxyz(8.6533, 6.1666, 32.1803)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C9C #9C8C2C
analogous
#2C749C #2C3C9C #542C9C
triadic
#2C3C9C #9C2C3C #3C9C2C
tetradic
#2C3C9C #9C2C74 #9C8C2C #2C9C54
square
#2C3C9C #9C2C74 #9C8C2C #2C9C54
split-complementary
#2C3C9C #9C542C #749C2C
monochromatic
#11173D #1F2A6C #2C3C9C #3D51C8 #6D7CD6

Accessibility & contrast

On white

9.40
#2C3C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2C3C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C9C
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C9C#FFFFFF#000000##FFFFFF
##2C3C9C1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c3c9c;
/* rgb */ color: rgb(44, 60, 156);
/* oklch */ color: oklch(40.6% 0.156 270.5);
Tailwind
colors: {
  custom: {
    50: '#7571ba',
    500: '#2c3c9c',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c9c;
$custom-light: #7571ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c9c",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 156
  },
  "hsl": {
    "h": 231.429,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40579,
    "c": 0.15642,
    "h": 270.5
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#2C3C9C
secondary
#BDB067
accent
#CA49DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2C3C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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