#2C3AAF#2C3AAF

#2C3AAF is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.184 H 270.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2C3AAF
RGBrgb(44, 58, 175)
HSLhsl(234, 60%, 43%)
HSVhsv(234, 75%, 69%)
CMYKcmyk(74.9%, 66.9%, 0%, 31.4%)
CIE-LABlab(31.01, 35.65, -63.71)
CIE-LCHlch(31.01, 73.01, 299.23°)
OKLaboklab(41.96% 0.0018 -0.1843)
OKLCHoklch(41.96% 0.184 270.6)
XYZxyz(10.2870, 6.6556, 41.2916)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3AAF #AFA12C
analogous
#2C7BAF #2C3AAF #602CAF
triadic
#2C3AAF #AF2C3A #3AAF2C
tetradic
#2C3AAF #AF2C7B #AFA12C #2CAF60
square
#2C3AAF #AF2C7B #AFA12C #2CAF60
split-complementary
#2C3AAF #AF602C #7BAF2C
monochromatic
#131A4D #202A7E #2C3AAF #4756D1 #7883DD

Accessibility & contrast

On white

9.01
#2C3AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2C3AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3AAF
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3AAF#FFFFFF#000000##FFFFFF
##2C3AAF1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c3aaf;
/* rgb */ color: rgb(44, 58, 175);
/* oklch */ color: oklch(42.0% 0.184 270.6);
Tailwind
colors: {
  custom: {
    50: '#7970c8',
    500: '#2c3aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2c3aaf;
$custom-light: #7970c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3aaf",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 233.588,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41963,
    "c": 0.1843,
    "h": 270.6
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#2C3AAF
secondary
#C5BC72
accent
#D245E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C3AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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