#2C3EB7#2C3EB7

#2C3EB7 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.190 H 269.7°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#2C3EB7
RGBrgb(44, 62, 183)
HSLhsl(232, 61%, 45%)
HSVhsv(232, 76%, 72%)
CMYKcmyk(76%, 66.1%, 0%, 28.2%)
CIE-LABlab(32.70, 36.00, -65.70)
CIE-LCHlch(32.70, 74.91, 298.72°)
OKLaboklab(43.42% -0.0011 -0.1901)
OKLCHoklch(43.42% 0.19 269.7)
XYZxyz(11.3056, 7.3984, 45.6228)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3EB7 #B7A52C
analogous
#2C84B7 #2C3EB7 #602CB7
triadic
#2C3EB7 #B72C3E #3EB72C
tetradic
#2C3EB7 #B72C84 #B7A52C #2CB760
square
#2C3EB7 #B72C84 #B7A52C #2CB760
split-complementary
#2C3EB7 #B7602C #84B72C
monochromatic
#141D54 #202D86 #2C3EB7 #4C5ED4 #7E8AE0

Accessibility & contrast

On white

8.47
#2C3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2C3EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3EB7
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3EB7#FFFFFF#000000##FFFFFF
##2C3EB71.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3eb7;
/* rgb */ color: rgb(44, 62, 183);
/* oklch */ color: oklch(43.4% 0.190 269.7);
Tailwind
colors: {
  custom: {
    50: '#7b73ce',
    500: '#2c3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2c3eb7;
$custom-light: #7b73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3eb7",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 232.23,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43419,
    "c": 0.19007,
    "h": 269.7
  },
  "luminance": 0.074
}

Semantic roles & 50–950 ramp

primary
#2C3EB7
secondary
#C8BE76
accent
#D043E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2C3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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