#2C3AA3#2C3AA3

#2C3AA3 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.168 H 270.9°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#2C3AA3
RGBrgb(44, 58, 163)
HSLhsl(233, 57%, 41%)
HSVhsv(233, 73%, 64%)
CMYKcmyk(73%, 64.4%, 0%, 36.1%)
CIE-LABlab(29.92, 31.29, -58.29)
CIE-LCHlch(29.92, 66.16, 298.23°)
OKLaboklab(40.84% 0.0026 -0.1684)
OKLCHoklch(40.84% 0.168 270.9)
XYZxyz(9.1604, 6.2050, 35.3581)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3AA3 #A3952C
analogous
#2C75A3 #2C3AA3 #592CA3
triadic
#2C3AA3 #A32C3A #3AA32C
tetradic
#2C3AA3 #A32C75 #A3952C #2CA359
square
#2C3AA3 #A32C75 #A3952C #2CA359
split-complementary
#2C3AA3 #A3592C #75A32C
monochromatic
#121843 #1F2973 #2C3AA3 #4151CC #717DD9

Accessibility & contrast

On white

9.37
#2C3AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2C3AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3AA3
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3AA3#FFFFFF#000000##FFFFFF
##2C3AA31.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c3aa3;
/* rgb */ color: rgb(44, 58, 163);
/* oklch */ color: oklch(40.8% 0.168 270.9);
Tailwind
colors: {
  custom: {
    50: '#7770bf',
    500: '#2c3aa3',
    950: '#000000',
  },
}
SCSS
$custom: #2c3aa3;
$custom-light: #7770bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3aa3",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 232.941,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40836,
    "c": 0.16843,
    "h": 270.9
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#2C3AA3
secondary
#C0B66B
accent
#CF47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C3AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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