#2C3EA5#2C3EA5

#2C3EA5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.166 H 269.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2C3EA5
RGBrgb(44, 62, 165)
HSLhsl(231, 58%, 41%)
HSVhsv(231, 73%, 65%)
CMYKcmyk(73.3%, 62.4%, 0%, 35.3%)
CIE-LABlab(31.11, 29.41, -57.56)
CIE-LCHlch(31.11, 64.64, 297.06°)
OKLaboklab(41.76% -0.0003 -0.1662)
OKLCHoklch(41.76% 0.166 269.9)
XYZxyz(9.5505, 6.6963, 36.3792)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3EA5 #A5932C
analogous
#2C7AA5 #2C3EA5 #562CA5
triadic
#2C3EA5 #A52C3E #3EA52C
tetradic
#2C3EA5 #A52C7A #A5932C #2CA556
square
#2C3EA5 #A52C7A #A5932C #2CA556
split-complementary
#2C3EA5 #A5562C #7AA52C
monochromatic
#121A44 #1F2C75 #2C3EA5 #4256CD #7281D9

Accessibility & contrast

On white

8.98
#2C3EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2C3EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3EA5
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3EA5#FFFFFF#000000##FFFFFF
##2C3EA51.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c3ea5;
/* rgb */ color: rgb(44, 62, 165);
/* oklch */ color: oklch(41.8% 0.166 269.9);
Tailwind
colors: {
  custom: {
    50: '#7773c1',
    500: '#2c3ea5',
    950: '#000000',
  },
}
SCSS
$custom: #2c3ea5;
$custom-light: #7773c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3ea5",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 231.074,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4176,
    "c": 0.16625,
    "h": 269.9
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#2C3EA5
secondary
#C1B46C
accent
#CA47E1
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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