#2C3CB1#2C3CB1

#2C3CB1 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.185 H 270.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2C3CB1
RGBrgb(44, 60, 177)
HSLhsl(233, 60%, 43%)
HSVhsv(233, 75%, 69%)
CMYKcmyk(75.1%, 66.1%, 0%, 30.6%)
CIE-LABlab(31.67, 35.10, -63.82)
CIE-LCHlch(31.67, 72.84, 298.81°)
OKLaboklab(42.5% 0.0005 -0.1846)
OKLCHoklch(42.5% 0.185 270.2)
XYZxyz(10.5877, 6.9404, 42.3681)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3CB1 #B1A12C
analogous
#2C7EB1 #2C3CB1 #5E2CB1
triadic
#2C3CB1 #B12C3C #3CB12C
tetradic
#2C3CB1 #B12C7E #B1A12C #2CB15E
square
#2C3CB1 #B12C7E #B1A12C #2CB15E
split-complementary
#2C3CB1 #B15E2C #7EB12C
monochromatic
#141B4F #202B80 #2C3CB1 #4959D2 #7A86DE

Accessibility & contrast

On white

8.79
#2C3CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2C3CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3CB1
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3CB1#FFFFFF#000000##FFFFFF
##2C3CB11.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c3cb1;
/* rgb */ color: rgb(44, 60, 177);
/* oklch */ color: oklch(42.5% 0.185 270.2);
Tailwind
colors: {
  custom: {
    50: '#7a72c9',
    500: '#2c3cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2c3cb1;
$custom-light: #7a72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3cb1",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 232.782,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42502,
    "c": 0.18459,
    "h": 270.2
  },
  "luminance": 0.06942
}

Semantic roles & 50–950 ramp

primary
#2C3CB1
secondary
#C6BC73
accent
#D044E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2C3CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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