#2C3087#2C3087

#2C3087 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.142 H 274.8°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2C3087
RGBrgb(44, 48, 135)
HSLhsl(237, 51%, 35%)
HSVhsv(237, 67%, 53%)
CMYKcmyk(67.4%, 64.4%, 0%, 47.1%)
CIE-LABlab(24.95, 27.64, -49.24)
CIE-LCHlch(24.95, 56.47, 299.30°)
OKLaboklab(36.42% 0.0119 -0.142)
OKLCHoklch(36.42% 0.142 274.8)
XYZxyz(6.4674, 4.3981, 23.4251)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3087 #87832C
analogous
#2C5D87 #2C3087 #562C87
triadic
#2C3087 #872C30 #30872C
tetradic
#2C3087 #872C5D #87832C #2C8756
square
#2C3087 #872C5D #87832C #2C8756
split-complementary
#2C3087 #87562C #5D872C
monochromatic
#0E0F2B #1D2059 #2C3087 #3B40B5 #6266CC

Accessibility & contrast

On white

11.17
#2C3087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2C3087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3087
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3087#FFFFFF#000000##FFFFFF
##2C30871.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c3087;
/* rgb */ color: rgb(44, 48, 135);
/* oklch */ color: oklch(36.4% 0.142 274.8);
Tailwind
colors: {
  custom: {
    50: '#7168ab',
    500: '#2c3087',
    950: '#000000',
  },
}
SCSS
$custom: #2c3087;
$custom-light: #7168ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3087",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 237.363,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36418,
    "c": 0.14245,
    "h": 274.8
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#2C3087
secondary
#B2AE5D
accent
#D44DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C3087

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

Preview Lab → · Contrast checker → · Palette generator →

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