#2C3395#2C3395

#2C3395 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.158 H 273.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2C3395
RGBrgb(44, 51, 149)
HSLhsl(236, 54%, 38%)
HSVhsv(236, 70%, 58%)
CMYKcmyk(70.5%, 65.8%, 0%, 41.6%)
CIE-LABlab(26.94, 30.75, -54.65)
CIE-LCHlch(26.94, 62.71, 299.37°)
OKLaboklab(38.26% 0.0085 -0.1578)
OKLCHoklch(38.26% 0.158 273.1)
XYZxyz(7.6455, 5.0723, 29.0041)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3395 #958E2C
analogous
#2C6795 #2C3395 #592C95
triadic
#2C3395 #952C33 #33952C
tetradic
#2C3395 #952C67 #958E2C #2C9559
square
#2C3395 #952C67 #958E2C #2C9559
split-complementary
#2C3395 #95592C #67952C
monochromatic
#101337 #1E2366 #2C3395 #3A43C4 #6970D3

Accessibility & contrast

On white

10.42
#2C3395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2C3395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3395
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3395#FFFFFF#000000##FFFFFF
##2C33951.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3395;
/* rgb */ color: rgb(44, 51, 149);
/* oklch */ color: oklch(38.3% 0.158 273.1);
Tailwind
colors: {
  custom: {
    50: '#746bb5',
    500: '#2c3395',
    950: '#000000',
  },
}
SCSS
$custom: #2c3395;
$custom-light: #746bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3395",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 236,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38263,
    "c": 0.15803,
    "h": 273.1
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#2C3395
secondary
#B9B464
accent
#D44ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3395

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

Preview Lab → · Contrast checker → · Palette generator →

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