#2C3DA4#2C3DA4

#2C3DA4 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.166 H 270.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2C3DA4
RGBrgb(44, 61, 164)
HSLhsl(232, 58%, 41%)
HSVhsv(232, 73%, 64%)
CMYKcmyk(73.2%, 62.8%, 0%, 35.7%)
CIE-LABlab(30.77, 29.70, -57.52)
CIE-LCHlch(30.77, 64.73, 297.31°)
OKLaboklab(41.48% 0.0005 -0.1661)
OKLCHoklch(41.48% 0.166 270.2)
XYZxyz(9.4060, 6.5523, 35.8838)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3DA4 #A4932C
analogous
#2C79A4 #2C3DA4 #572CA4
triadic
#2C3DA4 #A42C3D #3DA42C
tetradic
#2C3DA4 #A42C79 #A4932C #2CA457
square
#2C3DA4 #A42C79 #A4932C #2CA457
split-complementary
#2C3DA4 #A4572C #79A42C
monochromatic
#121943 #1F2B74 #2C3DA4 #4155CC #7180D9

Accessibility & contrast

On white

9.09
#2C3DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2C3DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3DA4
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3DA4#FFFFFF#000000##FFFFFF
##2C3DA41.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c3da4;
/* rgb */ color: rgb(44, 61, 164);
/* oklch */ color: oklch(41.5% 0.166 270.2);
Tailwind
colors: {
  custom: {
    50: '#7772c0',
    500: '#2c3da4',
    950: '#000000',
  },
}
SCSS
$custom: #2c3da4;
$custom-light: #7772c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3da4",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 164
  },
  "hsl": {
    "h": 231.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41482,
    "c": 0.16612,
    "h": 270.2
  },
  "luminance": 0.06553
}

Semantic roles & 50–950 ramp

primary
#2C3DA4
secondary
#C0B46B
accent
#CB47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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