#2C3E9A#2C3E9A

#2C3E9A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.151 H 269.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2C3E9A
RGBrgb(44, 62, 154)
HSLhsl(230, 56%, 39%)
HSVhsv(230, 71%, 60%)
CMYKcmyk(71.4%, 59.7%, 0%, 39.6%)
CIE-LABlab(30.19, 25.31, -52.40)
CIE-LCHlch(30.19, 58.20, 295.78°)
OKLaboklab(40.79% -0.0002 -0.1511)
OKLCHoklch(40.79% 0.151 269.9)
XYZxyz(8.5921, 6.3130, 31.3313)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E9A #9A882C
analogous
#2C759A #2C3E9A #512C9A
triadic
#2C3E9A #9A2C3E #3E9A2C
tetradic
#2C3E9A #9A2C75 #9A882C #2C9A51
square
#2C3E9A #9A2C75 #9A882C #2C9A51
split-complementary
#2C3E9A #9A512C #759A2C
monochromatic
#11183B #1E2B6A #2C3E9A #3C53C7 #6C7DD5

Accessibility & contrast

On white

9.28
#2C3E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2C3E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3E9A
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E9A#FFFFFF#000000##FFFFFF
##2C3E9A1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c3e9a;
/* rgb */ color: rgb(44, 62, 154);
/* oklch */ color: oklch(40.8% 0.151 269.9);
Tailwind
colors: {
  custom: {
    50: '#7473b9',
    500: '#2c3e9a',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e9a;
$custom-light: #7473b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e9a",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 154
  },
  "hsl": {
    "h": 230.182,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40794,
    "c": 0.1511,
    "h": 269.9
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

primary
#2C3E9A
secondary
#BCAE66
accent
#C649DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C3E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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