#2C3289#2C3289

#2C3289 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.143 H 274.0°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#2C3289
RGBrgb(44, 50, 137)
HSLhsl(236, 51%, 35%)
HSVhsv(236, 68%, 54%)
CMYKcmyk(67.9%, 63.5%, 0%, 46.3%)
CIE-LABlab(25.63, 27.04, -49.37)
CIE-LCHlch(25.63, 56.29, 298.70°)
OKLaboklab(36.98% 0.01 -0.1423)
OKLCHoklch(36.98% 0.143 274)
XYZxyz(6.6932, 4.6222, 24.2015)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3289 #89832C
analogous
#2C6089 #2C3289 #542C89
triadic
#2C3289 #892C32 #32892C
tetradic
#2C3289 #892C60 #89832C #2C8954
square
#2C3289 #892C60 #89832C #2C8954
split-complementary
#2C3289 #89542C #60892C
monochromatic
#0E102C #1D215B #2C3289 #3B43B7 #6369CD

Accessibility & contrast

On white

10.91
#2C3289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2C3289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3289
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3289#FFFFFF#000000##FFFFFF
##2C32891.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c3289;
/* rgb */ color: rgb(44, 50, 137);
/* oklch */ color: oklch(37.0% 0.143 274.0);
Tailwind
colors: {
  custom: {
    50: '#716aac',
    500: '#2c3289',
    950: '#000000',
  },
}
SCSS
$custom: #2c3289;
$custom-light: #716aac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3289",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 236.129,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36975,
    "c": 0.14268,
    "h": 274
  },
  "luminance": 0.04623
}

Semantic roles & 50–950 ramp

primary
#2C3289
secondary
#B3AE5E
accent
#D24DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C3289

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

Preview Lab → · Contrast checker → · Palette generator →

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