#2C3C8D#2C3C8D

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

Color values

HEX#2C3C8D
RGBrgb(44, 60, 141)
HSLhsl(230, 52%, 36%)
HSVhsv(230, 69%, 55%)
CMYKcmyk(68.8%, 57.4%, 0%, 44.7%)
CIE-LABlab(28.62, 21.78, -47.00)
CIE-LCHlch(28.62, 51.80, 294.86°)
OKLaboklab(39.3% 0.0012 -0.1352)
OKLCHoklch(39.3% 0.135 270.5)
XYZxyz(7.4607, 5.6896, 25.8992)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C8D #8D7D2C
analogous
#2C6D8D #2C3C8D #4D2C8D
triadic
#2C3C8D #8D2C3C #3C8D2C
tetradic
#2C3C8D #8D2C6D #8D7D2C #2C8D4D
square
#2C3C8D #8D2C6D #8D7D2C #2C8D4D
split-complementary
#2C3C8D #8D4D2C #6D8D2C
monochromatic
#0F1430 #1D285E #2C3C8D #3B50BC #6576CF

Accessibility & contrast

On white

9.82
#2C3C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2C3C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C8D
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C8D#FFFFFF#000000##FFFFFF
##2C3C8D1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c3c8d;
/* rgb */ color: rgb(44, 60, 141);
/* oklch */ color: oklch(39.3% 0.135 270.5);
Tailwind
colors: {
  custom: {
    50: '#7171af',
    500: '#2c3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c8d;
$custom-light: #7171af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c8d",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 230.103,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39295,
    "c": 0.13524,
    "h": 270.5
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#2C3C8D
secondary
#B5A760
accent
#C44CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2C3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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