#2C3CB4#2C3CB4

#2C3CB4 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.188 H 270.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#2C3CB4
RGBrgb(44, 60, 180)
HSLhsl(233, 61%, 44%)
HSVhsv(233, 76%, 71%)
CMYKcmyk(75.6%, 66.7%, 0%, 29.4%)
CIE-LABlab(31.95, 36.18, -65.15)
CIE-LCHlch(31.95, 74.53, 299.05°)
OKLaboklab(42.79% 0.0003 -0.1885)
OKLCHoklch(42.79% 0.188 270.1)
XYZxyz(10.8900, 7.0613, 43.9602)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3CB4 #B4A42C
analogous
#2C80B4 #2C3CB4 #602CB4
triadic
#2C3CB4 #B42C3C #3CB42C
tetradic
#2C3CB4 #B42C80 #B4A42C #2CB460
square
#2C3CB4 #B42C80 #B4A42C #2CB460
split-complementary
#2C3CB4 #B4602C #80B42C
monochromatic
#141B52 #202C83 #2C3CB4 #4A5AD3 #7C87DF

Accessibility & contrast

On white

8.71
#2C3CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3CB4
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3CB4#FFFFFF#000000##FFFFFF
##2C3CB41.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c3cb4;
/* rgb */ color: rgb(44, 60, 180);
/* oklch */ color: oklch(42.8% 0.188 270.1);
Tailwind
colors: {
  custom: {
    50: '#7a72cc',
    500: '#2c3cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2c3cb4;
$custom-light: #7a72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3cb4",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 232.941,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42787,
    "c": 0.18849,
    "h": 270.1
  },
  "luminance": 0.07062
}

Semantic roles & 50–950 ramp

primary
#2C3CB4
secondary
#C7BD75
accent
#D144E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2C3CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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