#2C3E9D#2C3E9D

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

Color values

HEX#2C3E9D
RGBrgb(44, 62, 157)
HSLhsl(230, 56%, 39%)
HSVhsv(230, 72%, 62%)
CMYKcmyk(72%, 60.5%, 0%, 38.4%)
CIE-LABlab(30.43, 26.43, -53.83)
CIE-LCHlch(30.43, 59.97, 296.16°)
OKLaboklab(41.05% -0.0002 -0.1553)
OKLCHoklch(41.05% 0.155 269.9)
XYZxyz(8.8451, 6.4142, 32.6637)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E9D #9D8B2C
analogous
#2C779D #2C3E9D #522C9D
triadic
#2C3E9D #9D2C3E #3E9D2C
tetradic
#2C3E9D #9D2C77 #9D8B2C #2C9D52
square
#2C3E9D #9D2C77 #9D8B2C #2C9D52
split-complementary
#2C3E9D #9D522C #779D2C
monochromatic
#11183D #1F2B6D #2C3E9D #3D54C9 #6D7ED6

Accessibility & contrast

On white

9.20
#2C3E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2C3E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3E9D
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E9D#FFFFFF#000000##FFFFFF
##2C3E9D1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c3e9d;
/* rgb */ color: rgb(44, 62, 157);
/* oklch */ color: oklch(41.1% 0.155 269.9);
Tailwind
colors: {
  custom: {
    50: '#7573bb',
    500: '#2c3e9d',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e9d;
$custom-light: #7573bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e9d",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 230.442,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41054,
    "c": 0.15528,
    "h": 269.9
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#2C3E9D
secondary
#BDB068
accent
#C748E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C3E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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