#2C3E8D#2C3E8D

#2C3E8D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.133 H 269.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2C3E8D
RGBrgb(44, 62, 141)
HSLhsl(229, 52%, 36%)
HSVhsv(229, 69%, 55%)
CMYKcmyk(68.8%, 56%, 0%, 44.7%)
CIE-LABlab(29.17, 20.42, -46.10)
CIE-LCHlch(29.17, 50.42, 293.89°)
OKLaboklab(39.71% -0.0007 -0.1326)
OKLCHoklch(39.71% 0.133 269.7)
XYZxyz(7.5674, 5.9031, 25.9347)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E8D #8D7B2C
analogous
#2C6F8D #2C3E8D #4B2C8D
triadic
#2C3E8D #8D2C3E #3E8D2C
tetradic
#2C3E8D #8D2C6F #8D7B2C #2C8D4B
square
#2C3E8D #8D2C6F #8D7B2C #2C8D4B
split-complementary
#2C3E8D #8D4B2C #6F8D2C
monochromatic
#0F1530 #1D295E #2C3E8D #3B53BC #6578CF

Accessibility & contrast

On white

9.63
#2C3E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2C3E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3E8D
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E8D#FFFFFF#000000##FFFFFF
##2C3E8D1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c3e8d;
/* rgb */ color: rgb(44, 62, 141);
/* oklch */ color: oklch(39.7% 0.133 269.7);
Tailwind
colors: {
  custom: {
    50: '#7173af',
    500: '#2c3e8d',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e8d;
$custom-light: #7173af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e8d",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 228.866,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39708,
    "c": 0.13257,
    "h": 269.7
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#2C3E8D
secondary
#B5A560
accent
#C14CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2C3E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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