#2C3594#2C3594

#2C3594 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.154 H 272.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2C3594
RGBrgb(44, 53, 148)
HSLhsl(235, 54%, 38%)
HSVhsv(235, 70%, 58%)
CMYKcmyk(70.3%, 64.2%, 0%, 42%)
CIE-LABlab(27.35, 29.08, -53.37)
CIE-LCHlch(27.35, 60.77, 298.58°)
OKLaboklab(38.54% 0.0071 -0.154)
OKLCHoklch(38.54% 0.154 272.6)
XYZxyz(7.6553, 5.2191, 28.6152)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3594 #948B2C
analogous
#2C6994 #2C3594 #572C94
triadic
#2C3594 #942C35 #35942C
tetradic
#2C3594 #942C69 #948B2C #2C9457
square
#2C3594 #942C69 #948B2C #2C9457
split-complementary
#2C3594 #94572C #69942C
monochromatic
#101336 #1E2465 #2C3594 #3A46C3 #6871D2

Accessibility & contrast

On white

10.27
#2C3594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2C3594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3594
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3594#FFFFFF#000000##FFFFFF
##2C35941.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c3594;
/* rgb */ color: rgb(44, 53, 148);
/* oklch */ color: oklch(38.5% 0.154 272.6);
Tailwind
colors: {
  custom: {
    50: '#746cb4',
    500: '#2c3594',
    950: '#000000',
  },
}
SCSS
$custom: #2c3594;
$custom-light: #746cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3594",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 148
  },
  "hsl": {
    "h": 234.808,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38537,
    "c": 0.15418,
    "h": 272.6
  },
  "luminance": 0.0522
}

Semantic roles & 50–950 ramp

primary
#2C3594
secondary
#B9B163
accent
#D14ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3594

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

Preview Lab → · Contrast checker → · Palette generator →

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