#2C3DB1#2C3DB1

#2C3DB1 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.183 H 270.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2C3DB1
RGBrgb(44, 61, 177)
HSLhsl(232, 60%, 43%)
HSVhsv(232, 75%, 69%)
CMYKcmyk(75.1%, 65.5%, 0%, 30.6%)
CIE-LABlab(31.91, 34.46, -63.43)
CIE-LCHlch(31.91, 72.18, 298.52°)
OKLaboklab(42.68% -0.0001 -0.1834)
OKLCHoklch(42.68% 0.183 270)
XYZxyz(10.6405, 7.0461, 42.3857)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3DB1 #B1A02C
analogous
#2C7FB1 #2C3DB1 #5D2CB1
triadic
#2C3DB1 #B12C3D #3DB12C
tetradic
#2C3DB1 #B12C7F #B1A02C #2CB15D
square
#2C3DB1 #B12C7F #B1A02C #2CB15D
split-complementary
#2C3DB1 #B15D2C #7FB12C
monochromatic
#141B4F #202C80 #2C3DB1 #495AD2 #7A86DE

Accessibility & contrast

On white

8.72
#2C3DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2C3DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3DB1
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3DB1#FFFFFF#000000##FFFFFF
##2C3DB11.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c3db1;
/* rgb */ color: rgb(44, 61, 177);
/* oklch */ color: oklch(42.7% 0.183 270.0);
Tailwind
colors: {
  custom: {
    50: '#7a72c9',
    500: '#2c3db1',
    950: '#000000',
  },
}
SCSS
$custom: #2c3db1;
$custom-light: #7a72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3db1",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 232.331,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42678,
    "c": 0.18343,
    "h": 270
  },
  "luminance": 0.07047
}

Semantic roles & 50–950 ramp

primary
#2C3DB1
secondary
#C6BB73
accent
#CF44E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2C3DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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