#2C3EA9#2C3EA9

#2C3EA9 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.172 H 269.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2C3EA9
RGBrgb(44, 62, 169)
HSLhsl(231, 59%, 42%)
HSVhsv(231, 74%, 66%)
CMYKcmyk(74%, 63.3%, 0%, 33.7%)
CIE-LABlab(31.45, 30.89, -59.40)
CIE-LCHlch(31.45, 66.95, 297.47°)
OKLaboklab(42.12% -0.0004 -0.1716)
OKLCHoklch(42.12% 0.172 269.9)
XYZxyz(9.9203, 6.8443, 38.3267)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3EA9 #A9972C
analogous
#2C7DA9 #2C3EA9 #592CA9
triadic
#2C3EA9 #A92C3E #3EA92C
tetradic
#2C3EA9 #A92C7D #A9972C #2CA959
square
#2C3EA9 #A92C7D #A9972C #2CA959
split-complementary
#2C3EA9 #A9592C #7DA92C
monochromatic
#131A48 #1F2C78 #2C3EA9 #4458CE #7483DB

Accessibility & contrast

On white

8.86
#2C3EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2C3EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3EA9
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3EA9#FFFFFF#000000##FFFFFF
##2C3EA91.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c3ea9;
/* rgb */ color: rgb(44, 62, 169);
/* oklch */ color: oklch(42.1% 0.172 269.9);
Tailwind
colors: {
  custom: {
    50: '#7873c3',
    500: '#2c3ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2c3ea9;
$custom-light: #7873c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3ea9",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 231.36,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42121,
    "c": 0.17164,
    "h": 269.9
  },
  "luminance": 0.06845
}

Semantic roles & 50–950 ramp

primary
#2C3EA9
secondary
#C3B66E
accent
#CB46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2C3EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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