#2C3588#2C3588

#2C3588 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.137 H 273.1°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2C3588
RGBrgb(44, 53, 136)
HSLhsl(234, 51%, 35%)
HSVhsv(234, 68%, 53%)
CMYKcmyk(67.6%, 61%, 0%, 46.7%)
CIE-LABlab(26.33, 24.65, -47.61)
CIE-LCHlch(26.33, 53.62, 297.37°)
OKLaboklab(37.46% 0.0074 -0.1371)
OKLCHoklch(37.46% 0.137 273.1)
XYZxyz(6.7543, 4.8587, 23.8696)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3588 #887F2C
analogous
#2C6388 #2C3588 #512C88
triadic
#2C3588 #882C35 #35882C
tetradic
#2C3588 #882C63 #887F2C #2C8851
square
#2C3588 #882C63 #887F2C #2C8851
split-complementary
#2C3588 #88512C #63882C
monochromatic
#0E112C #1D235A #2C3588 #3B47B6 #626DCC

Accessibility & contrast

On white

10.65
#2C3588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2C3588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3588
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3588#FFFFFF#000000##FFFFFF
##2C35881.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c3588;
/* rgb */ color: rgb(44, 53, 136);
/* oklch */ color: oklch(37.5% 0.137 273.1);
Tailwind
colors: {
  custom: {
    50: '#716cab',
    500: '#2c3588',
    950: '#000000',
  },
}
SCSS
$custom: #2c3588;
$custom-light: #716cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3588",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 136
  },
  "hsl": {
    "h": 234.13,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37464,
    "c": 0.13733,
    "h": 273.1
  },
  "luminance": 0.04859
}

Semantic roles & 50–950 ramp

primary
#2C3588
secondary
#B3AA5D
accent
#CD4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3588

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

Preview Lab → · Contrast checker → · Palette generator →

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