#2C3F9D#2C3F9D

#2C3F9D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.154 H 269.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2C3F9D
RGBrgb(44, 63, 157)
HSLhsl(230, 56%, 39%)
HSVhsv(230, 72%, 62%)
CMYKcmyk(72%, 59.9%, 0%, 38.4%)
CIE-LABlab(30.70, 25.77, -53.40)
CIE-LCHlch(30.70, 59.29, 295.76°)
OKLaboklab(41.25% -0.001 -0.154)
OKLCHoklch(41.25% 0.154 269.6)
XYZxyz(8.8999, 6.5239, 32.6820)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F9D #9D8A2C
analogous
#2C779D #2C3F9D #522C9D
triadic
#2C3F9D #9D2C3F #3F9D2C
tetradic
#2C3F9D #9D2C77 #9D8A2C #2C9D52
square
#2C3F9D #9D2C77 #9D8A2C #2C9D52
split-complementary
#2C3F9D #9D522C #779D2C
monochromatic
#11193D #1F2C6D #2C3F9D #3D55C9 #6D7FD6

Accessibility & contrast

On white

9.11
#2C3F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2C3F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3F9D
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F9D#FFFFFF#000000##FFFFFF
##2C3F9D1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3f9d;
/* rgb */ color: rgb(44, 63, 157);
/* oklch */ color: oklch(41.3% 0.154 269.6);
Tailwind
colors: {
  custom: {
    50: '#7573bb',
    500: '#2c3f9d',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f9d;
$custom-light: #7573bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f9d",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 229.912,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4125,
    "c": 0.154,
    "h": 269.6
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

primary
#2C3F9D
secondary
#BDAF68
accent
#C648E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C3F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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