#2C3495#2C3495

#2C3495 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.157 H 272.8°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#2C3495
RGBrgb(44, 52, 149)
HSLhsl(235, 54%, 38%)
HSVhsv(235, 70%, 58%)
CMYKcmyk(70.5%, 65.1%, 0%, 41.6%)
CIE-LABlab(27.19, 30.10, -54.25)
CIE-LCHlch(27.19, 62.04, 299.02°)
OKLaboklab(38.45% 0.0078 -0.1566)
OKLCHoklch(38.45% 0.157 272.8)
XYZxyz(7.6897, 5.1606, 29.0188)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3495 #958D2C
analogous
#2C6895 #2C3495 #592C95
triadic
#2C3495 #952C34 #34952C
tetradic
#2C3495 #952C68 #958D2C #2C9559
square
#2C3495 #952C68 #958D2C #2C9559
split-complementary
#2C3495 #95592C #68952C
monochromatic
#101337 #1E2466 #2C3495 #3A44C4 #6971D3

Accessibility & contrast

On white

10.33
#2C3495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2C3495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3495
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3495#FFFFFF#000000##FFFFFF
##2C34951.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c3495;
/* rgb */ color: rgb(44, 52, 149);
/* oklch */ color: oklch(38.4% 0.157 272.8);
Tailwind
colors: {
  custom: {
    50: '#746bb5',
    500: '#2c3495',
    950: '#000000',
  },
}
SCSS
$custom: #2c3495;
$custom-light: #746bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3495",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 235.429,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38445,
    "c": 0.15679,
    "h": 272.8
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#2C3495
secondary
#B9B364
accent
#D34ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3495

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

Preview Lab → · Contrast checker → · Palette generator →

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