#2C3DB7#2C3DB7

#2C3DB7 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.191 H 269.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2C3DB7
RGBrgb(44, 61, 183)
HSLhsl(233, 61%, 45%)
HSVhsv(233, 76%, 72%)
CMYKcmyk(76%, 66.7%, 0%, 28.2%)
CIE-LABlab(32.46, 36.63, -66.09)
CIE-LCHlch(32.46, 75.56, 299.00°)
OKLaboklab(43.25% -0.0005 -0.1912)
OKLCHoklch(43.25% 0.191 269.8)
XYZxyz(11.2518, 7.2906, 45.6048)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3DB7 #B7A62C
analogous
#2C83B7 #2C3DB7 #612CB7
triadic
#2C3DB7 #B72C3D #3DB72C
tetradic
#2C3DB7 #B72C83 #B7A62C #2CB761
square
#2C3DB7 #B72C83 #B7A62C #2CB761
split-complementary
#2C3DB7 #B7612C #83B72C
monochromatic
#141C54 #202D86 #2C3DB7 #4C5DD4 #7E8AE0

Accessibility & contrast

On white

8.54
#2C3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2C3DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3DB7
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3DB7#FFFFFF#000000##FFFFFF
##2C3DB71.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0046B5
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c3db7;
/* rgb */ color: rgb(44, 61, 183);
/* oklch */ color: oklch(43.2% 0.191 269.8);
Tailwind
colors: {
  custom: {
    50: '#7b72ce',
    500: '#2c3db7',
    950: '#000000',
  },
}
SCSS
$custom: #2c3db7;
$custom-light: #7b72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3db7",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 232.662,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43246,
    "c": 0.19122,
    "h": 269.8
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#2C3DB7
secondary
#C8BE76
accent
#D143E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2C3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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