#2C3DA6#2C3DA6

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

Color values

HEX#2C3DA6
RGBrgb(44, 61, 166)
HSLhsl(232, 58%, 41%)
HSVhsv(232, 73%, 65%)
CMYKcmyk(73.5%, 63.3%, 0%, 34.9%)
CIE-LABlab(30.94, 30.44, -58.44)
CIE-LCHlch(30.94, 65.89, 297.51°)
OKLaboklab(41.66% 0.0004 -0.1688)
OKLCHoklch(41.66% 0.169 270.1)
XYZxyz(9.5880, 6.6251, 36.8425)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3DA6 #A6952C
analogous
#2C7AA6 #2C3DA6 #582CA6
triadic
#2C3DA6 #A62C3D #3DA62C
tetradic
#2C3DA6 #A62C7A #A6952C #2CA658
square
#2C3DA6 #A62C7A #A6952C #2CA658
split-complementary
#2C3DA6 #A6582C #7AA62C
monochromatic
#121945 #1F2B76 #2C3DA6 #4256CD #7381DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C3DA6#FFFFFF#000000##FFFFFF
##2C3DA61.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)
#004FA9
Deuteranopia (green-blind)
#0043A4
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c3da6;
/* rgb */ color: rgb(44, 61, 166);
/* oklch */ color: oklch(41.7% 0.169 270.1);
Tailwind
colors: {
  custom: {
    50: '#7772c1',
    500: '#2c3da6',
    950: '#000000',
  },
}
SCSS
$custom: #2c3da6;
$custom-light: #7772c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3da6",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 166
  },
  "hsl": {
    "h": 231.639,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41663,
    "c": 0.16882,
    "h": 270.1
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#2C3DA6
secondary
#C1B56D
accent
#CC46E1
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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