#2C3587#2C3587

#2C3587 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.136 H 273.1°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2C3587
RGBrgb(44, 53, 135)
HSLhsl(234, 51%, 35%)
HSVhsv(234, 67%, 53%)
CMYKcmyk(67.4%, 60.7%, 0%, 47.1%)
CIE-LABlab(26.25, 24.28, -47.13)
CIE-LCHlch(26.25, 53.01, 297.26°)
OKLaboklab(37.38% 0.0074 -0.1357)
OKLCHoklch(37.38% 0.136 273.1)
XYZxyz(6.6835, 4.8304, 23.4971)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3587 #877E2C
analogous
#2C6287 #2C3587 #512C87
triadic
#2C3587 #872C35 #35872C
tetradic
#2C3587 #872C62 #877E2C #2C8751
square
#2C3587 #872C62 #877E2C #2C8751
split-complementary
#2C3587 #87512C #62872C
monochromatic
#0E112B #1D2359 #2C3587 #3B47B5 #626CCC

Accessibility & contrast

On white

10.68
#2C3587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3587
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3587#FFFFFF#000000##FFFFFF
##2C35871.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c3587;
/* rgb */ color: rgb(44, 53, 135);
/* oklch */ color: oklch(37.4% 0.136 273.1);
Tailwind
colors: {
  custom: {
    50: '#716cab',
    500: '#2c3587',
    950: '#000000',
  },
}
SCSS
$custom: #2c3587;
$custom-light: #716cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3587",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 234.066,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37377,
    "c": 0.13589,
    "h": 273.1
  },
  "luminance": 0.04831
}

Semantic roles & 50–950 ramp

primary
#2C3587
secondary
#B2AA5D
accent
#CC4DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3587

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

Preview Lab → · Contrast checker → · Palette generator →

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