#2C3AA0#2C3AA0

#2C3AA0 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.164 H 271.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#2C3AA0
RGBrgb(44, 58, 160)
HSLhsl(233, 57%, 40%)
HSVhsv(233, 73%, 63%)
CMYKcmyk(72.5%, 63.8%, 0%, 37.3%)
CIE-LABlab(29.66, 30.19, -56.91)
CIE-LCHlch(29.66, 64.42, 297.95°)
OKLaboklab(40.56% 0.0028 -0.1644)
OKLCHoklch(40.56% 0.164 271)
XYZxyz(8.8948, 6.0988, 33.9593)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3AA0 #A0922C
analogous
#2C74A0 #2C3AA0 #582CA0
triadic
#2C3AA0 #A02C3A #3AA02C
tetradic
#2C3AA0 #A02C74 #A0922C #2CA058
square
#2C3AA0 #A02C74 #A0922C #2CA058
split-complementary
#2C3AA0 #A0582C #74A02C
monochromatic
#121740 #1F2970 #2C3AA0 #3F50CA #6F7CD7

Accessibility & contrast

On white

9.46
#2C3AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2C3AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3AA0
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3AA0#FFFFFF#000000##FFFFFF
##2C3AA01.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c3aa0;
/* rgb */ color: rgb(44, 58, 160);
/* oklch */ color: oklch(40.6% 0.164 271.0);
Tailwind
colors: {
  custom: {
    50: '#7670bd',
    500: '#2c3aa0',
    950: '#000000',
  },
}
SCSS
$custom: #2c3aa0;
$custom-light: #7670bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3aa0",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 160
  },
  "hsl": {
    "h": 232.759,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.40561,
    "c": 0.16438,
    "h": 271
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#2C3AA0
secondary
#BFB469
accent
#CE48E0
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C3AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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