#2C3A9E#2C3A9E

#2C3A9E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.162 H 271.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2C3A9E
RGBrgb(44, 58, 158)
HSLhsl(233, 56%, 40%)
HSVhsv(233, 72%, 62%)
CMYKcmyk(72.2%, 63.3%, 0%, 38%)
CIE-LABlab(29.49, 29.46, -55.98)
CIE-LCHlch(29.49, 63.26, 297.75°)
OKLaboklab(40.38% 0.0028 -0.1616)
OKLCHoklch(40.38% 0.162 271)
XYZxyz(8.7212, 6.0293, 33.0453)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A9E #9E902C
analogous
#2C739E #2C3A9E #572C9E
triadic
#2C3A9E #9E2C3A #3A9E2C
tetradic
#2C3A9E #9E2C73 #9E902C #2C9E57
square
#2C3A9E #9E2C73 #9E902C #2C9E57
split-complementary
#2C3A9E #9E572C #739E2C
monochromatic
#11173E #1F286E #2C3A9E #3E4FC9 #6E7BD7

Accessibility & contrast

On white

9.52
#2C3A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2C3A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A9E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A9E#FFFFFF#000000##FFFFFF
##2C3A9E1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c3a9e;
/* rgb */ color: rgb(44, 58, 158);
/* oklch */ color: oklch(40.4% 0.162 271.0);
Tailwind
colors: {
  custom: {
    50: '#7570bc',
    500: '#2c3a9e',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a9e;
$custom-light: #7570bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a9e",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 158
  },
  "hsl": {
    "h": 232.632,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40379,
    "c": 0.16166,
    "h": 271
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#2C3A9E
secondary
#BEB368
accent
#CD48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C3A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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