#2C3595#2C3595

#2C3595 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.156 H 272.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2C3595
RGBrgb(44, 53, 149)
HSLhsl(235, 54%, 38%)
HSVhsv(235, 70%, 58%)
CMYKcmyk(70.5%, 64.4%, 0%, 41.6%)
CIE-LABlab(27.44, 29.44, -53.84)
CIE-LCHlch(27.44, 61.36, 298.67°)
OKLaboklab(38.63% 0.007 -0.1554)
OKLCHoklch(38.63% 0.156 272.6)
XYZxyz(7.7348, 5.2509, 29.0338)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3595 #958C2C
analogous
#2C6995 #2C3595 #572C95
triadic
#2C3595 #952C35 #35952C
tetradic
#2C3595 #952C69 #958C2C #2C9557
square
#2C3595 #952C69 #958C2C #2C9557
split-complementary
#2C3595 #95572C #69952C
monochromatic
#101337 #1E2466 #2C3595 #3A46C4 #6972D3

Accessibility & contrast

On white

10.24
#2C3595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2C3595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3595
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3595#FFFFFF#000000##FFFFFF
##2C35951.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c3595;
/* rgb */ color: rgb(44, 53, 149);
/* oklch */ color: oklch(38.6% 0.156 272.6);
Tailwind
colors: {
  custom: {
    50: '#746cb5',
    500: '#2c3595',
    950: '#000000',
  },
}
SCSS
$custom: #2c3595;
$custom-light: #746cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3595",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 149
  },
  "hsl": {
    "h": 234.857,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38628,
    "c": 0.15556,
    "h": 272.6
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C3595

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

Preview Lab → · Contrast checker → · Palette generator →

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