#2C3AA2#2C3AA2

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

Color values

HEX#2C3AA2
RGBrgb(44, 58, 162)
HSLhsl(233, 57%, 40%)
HSVhsv(233, 73%, 64%)
CMYKcmyk(72.8%, 64.2%, 0%, 36.5%)
CIE-LABlab(29.84, 30.93, -57.83)
CIE-LCHlch(29.84, 65.58, 298.14°)
OKLaboklab(40.74% 0.0027 -0.1671)
OKLCHoklch(40.74% 0.167 270.9)
XYZxyz(9.0711, 6.1693, 34.8881)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3AA2 #A2942C
analogous
#2C75A2 #2C3AA2 #592CA2
triadic
#2C3AA2 #A22C3A #3AA22C
tetradic
#2C3AA2 #A22C75 #A2942C #2CA259
square
#2C3AA2 #A22C75 #A2942C #2CA259
split-complementary
#2C3AA2 #A2592C #75A22C
monochromatic
#121842 #1F2972 #2C3AA2 #4051CB #707DD8

Accessibility & contrast

On white

9.40
#2C3AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2C3AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3AA2
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3AA2#FFFFFF#000000##FFFFFF
##2C3AA21.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c3aa2;
/* rgb */ color: rgb(44, 58, 162);
/* oklch */ color: oklch(40.7% 0.167 270.9);
Tailwind
colors: {
  custom: {
    50: '#7670be',
    500: '#2c3aa2',
    950: '#000000',
  },
}
SCSS
$custom: #2c3aa2;
$custom-light: #7670be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3aa2",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 232.881,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40744,
    "c": 0.16709,
    "h": 270.9
  },
  "luminance": 0.0617
}

Semantic roles & 50–950 ramp

primary
#2C3AA2
secondary
#BFB56A
accent
#CE47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C3AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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