#2C3D8B#2C3D8B

#2C3D8B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.131 H 270.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2C3D8B
RGBrgb(44, 61, 139)
HSLhsl(229, 52%, 36%)
HSVhsv(229, 68%, 55%)
CMYKcmyk(68.3%, 56.1%, 0%, 45.5%)
CIE-LABlab(28.74, 20.34, -45.56)
CIE-LCHlch(28.74, 49.90, 294.06°)
OKLaboklab(39.34% 0.0002 -0.131)
OKLCHoklch(39.34% 0.131 270.1)
XYZxyz(7.3661, 5.7364, 25.1401)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D8B #8B7A2C
analogous
#2C6C8B #2C3D8B #4A2C8B
triadic
#2C3D8B #8B2C3D #3D8B2C
tetradic
#2C3D8B #8B2C6C #8B7A2C #2C8B4A
square
#2C3D8B #8B2C6C #8B7A2C #2C8B4A
split-complementary
#2C3D8B #8B4A2C #6C8B2C
monochromatic
#0F142E #1D295D #2C3D8B #3B51B9 #6477CE

Accessibility & contrast

On white

9.78
#2C3D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C3D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D8B
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D8B#FFFFFF#000000##FFFFFF
##2C3D8B1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c3d8b;
/* rgb */ color: rgb(44, 61, 139);
/* oklch */ color: oklch(39.3% 0.131 270.1);
Tailwind
colors: {
  custom: {
    50: '#7172ad',
    500: '#2c3d8b',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d8b;
$custom-light: #7172ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d8b",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 139
  },
  "hsl": {
    "h": 229.263,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39337,
    "c": 0.131,
    "h": 270.1
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#2C3D8B
secondary
#B4A55F
accent
#C24CDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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