#2C3D8D#2C3D8D

#2C3D8D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.134 H 270.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2C3D8D
RGBrgb(44, 61, 141)
HSLhsl(229, 52%, 36%)
HSVhsv(229, 69%, 55%)
CMYKcmyk(68.8%, 56.7%, 0%, 44.7%)
CIE-LABlab(28.89, 21.10, -46.55)
CIE-LCHlch(28.89, 51.11, 294.38°)
OKLaboklab(39.5% 0.0003 -0.1339)
OKLCHoklch(39.5% 0.134 270.1)
XYZxyz(7.5135, 5.7953, 25.9168)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D8D #8D7C2C
analogous
#2C6E8D #2C3D8D #4C2C8D
triadic
#2C3D8D #8D2C3D #3D8D2C
tetradic
#2C3D8D #8D2C6E #8D7C2C #2C8D4C
square
#2C3D8D #8D2C6E #8D7C2C #2C8D4C
split-complementary
#2C3D8D #8D4C2C #6E8D2C
monochromatic
#0F1530 #1D295E #2C3D8D #3B51BC #6577CF

Accessibility & contrast

On white

9.73
#2C3D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2C3D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D8D
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D8D#FFFFFF#000000##FFFFFF
##2C3D8D1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c3d8d;
/* rgb */ color: rgb(44, 61, 141);
/* oklch */ color: oklch(39.5% 0.134 270.1);
Tailwind
colors: {
  custom: {
    50: '#7172af',
    500: '#2c3d8d',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d8d;
$custom-light: #7172af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d8d",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 229.485,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.395,
    "c": 0.1339,
    "h": 270.1
  },
  "luminance": 0.05796
}

Semantic roles & 50–950 ramp

primary
#2C3D8D
secondary
#B5A660
accent
#C34CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2C3D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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