#2C3EA3#2C3EA3

#2C3EA3 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.164 H 269.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2C3EA3
RGBrgb(44, 62, 163)
HSLhsl(231, 57%, 41%)
HSVhsv(231, 73%, 64%)
CMYKcmyk(73%, 62%, 0%, 36.1%)
CIE-LABlab(30.94, 28.67, -56.64)
CIE-LCHlch(30.94, 63.48, 296.85°)
OKLaboklab(41.58% -0.0002 -0.1635)
OKLCHoklch(41.58% 0.164 269.9)
XYZxyz(9.3699, 6.6241, 35.4280)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3EA3 #A3912C
analogous
#2C7AA3 #2C3EA3 #552CA3
triadic
#2C3EA3 #A32C3E #3EA32C
tetradic
#2C3EA3 #A32C7A #A3912C #2CA355
square
#2C3EA3 #A32C7A #A3912C #2CA355
split-complementary
#2C3EA3 #A3552C #7AA32C
monochromatic
#121943 #1F2C73 #2C3EA3 #4156CC #7180D9

Accessibility & contrast

On white

9.03
#2C3EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2C3EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3EA3
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3EA3#FFFFFF#000000##FFFFFF
##2C3EA31.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c3ea3;
/* rgb */ color: rgb(44, 62, 163);
/* oklch */ color: oklch(41.6% 0.164 269.9);
Tailwind
colors: {
  custom: {
    50: '#7673bf',
    500: '#2c3ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2c3ea3;
$custom-light: #7673bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3ea3",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 230.924,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41582,
    "c": 0.16353,
    "h": 269.9
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#2C3EA3
secondary
#C0B36B
accent
#C947E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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