#2C3D9D#2C3D9D

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

Color values

HEX#2C3D9D
RGBrgb(44, 61, 157)
HSLhsl(231, 56%, 39%)
HSVhsv(231, 72%, 62%)
CMYKcmyk(72%, 61.1%, 0%, 38.4%)
CIE-LABlab(30.17, 27.10, -54.25)
CIE-LCHlch(30.17, 60.64, 296.54°)
OKLaboklab(40.86% 0.0006 -0.1565)
OKLCHoklch(40.86% 0.157 270.2)
XYZxyz(8.7912, 6.3064, 32.6457)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D9D #9D8C2C
analogous
#2C769D #2C3D9D #532C9D
triadic
#2C3D9D #9D2C3D #3D9D2C
tetradic
#2C3D9D #9D2C76 #9D8C2C #2C9D53
square
#2C3D9D #9D2C76 #9D8C2C #2C9D53
split-complementary
#2C3D9D #9D532C #769D2C
monochromatic
#11183D #1F2A6D #2C3D9D #3D52C9 #6D7DD6

Accessibility & contrast

On white

9.29
#2C3D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2C3D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D9D
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D9D#FFFFFF#000000##FFFFFF
##2C3D9D1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3d9d;
/* rgb */ color: rgb(44, 61, 157);
/* oklch */ color: oklch(40.9% 0.157 270.2);
Tailwind
colors: {
  custom: {
    50: '#7572bb',
    500: '#2c3d9d',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d9d;
$custom-light: #7572bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d9d",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 230.973,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4086,
    "c": 0.15654,
    "h": 270.2
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#2C3D9D
secondary
#BDB068
accent
#C948E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C3D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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