#2C3085#2C3085

#2C3085 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.140 H 274.9°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2C3085
RGBrgb(44, 48, 133)
HSLhsl(237, 50%, 35%)
HSVhsv(237, 67%, 52%)
CMYKcmyk(66.9%, 63.9%, 0%, 47.8%)
CIE-LABlab(24.77, 26.91, -48.28)
CIE-LCHlch(24.77, 55.27, 299.13°)
OKLaboklab(36.24% 0.012 -0.1391)
OKLCHoklch(36.24% 0.14 274.9)
XYZxyz(6.3279, 4.3423, 22.6904)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3085 #85812C
analogous
#2C5D85 #2C3085 #542C85
triadic
#2C3085 #852C30 #30852C
tetradic
#2C3085 #852C5D #85812C #2C8554
square
#2C3085 #852C5D #85812C #2C8554
split-complementary
#2C3085 #85542C #5D852C
monochromatic
#0E0F29 #1D1F57 #2C3085 #3B41B3 #6166CB

Accessibility & contrast

On white

11.24
#2C3085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C3085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3085
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3085#FFFFFF#000000##FFFFFF
##2C30851.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c3085;
/* rgb */ color: rgb(44, 48, 133);
/* oklch */ color: oklch(36.2% 0.140 274.9);
Tailwind
colors: {
  custom: {
    50: '#7168a9',
    500: '#2c3085',
    950: '#000000',
  },
}
SCSS
$custom: #2c3085;
$custom-light: #7168a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3085",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 237.303,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36236,
    "c": 0.13963,
    "h": 274.9
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#2C3085
secondary
#B1AD5C
accent
#D44EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2C3085

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

Preview Lab → · Contrast checker → · Palette generator →

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