#2C3E9E#2C3E9E

#2C3E9E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.157 H 269.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2C3E9E
RGBrgb(44, 62, 158)
HSLhsl(231, 56%, 40%)
HSVhsv(231, 72%, 62%)
CMYKcmyk(72.2%, 60.8%, 0%, 38%)
CIE-LABlab(30.52, 26.81, -54.30)
CIE-LCHlch(30.52, 60.56, 296.28°)
OKLaboklab(41.14% -0.0002 -0.1567)
OKLCHoklch(41.14% 0.157 269.9)
XYZxyz(8.9308, 6.4484, 33.1151)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E9E #9E8C2C
analogous
#2C779E #2C3E9E #532C9E
triadic
#2C3E9E #9E2C3E #3E9E2C
tetradic
#2C3E9E #9E2C77 #9E8C2C #2C9E53
square
#2C3E9E #9E2C77 #9E8C2C #2C9E53
split-complementary
#2C3E9E #9E532C #779E2C
monochromatic
#11183E #1F2B6E #2C3E9E #3E54C9 #6E7ED7

Accessibility & contrast

On white

9.17
#2C3E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2C3E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3E9E
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E9E#FFFFFF#000000##FFFFFF
##2C3E9E1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c3e9e;
/* rgb */ color: rgb(44, 62, 158);
/* oklch */ color: oklch(41.1% 0.157 269.9);
Tailwind
colors: {
  custom: {
    50: '#7573bb',
    500: '#2c3e9e',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e9e;
$custom-light: #7573bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e9e",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 158
  },
  "hsl": {
    "h": 230.526,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41141,
    "c": 0.15666,
    "h": 269.9
  },
  "luminance": 0.06449
}

Semantic roles & 50–950 ramp

primary
#2C3E9E
secondary
#BEB068
accent
#C848E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C3E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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