#2C3895#2C3895

#2C3895 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.152 H 271.8°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2C3895
RGBrgb(44, 56, 149)
HSLhsl(233, 54%, 38%)
HSVhsv(233, 70%, 58%)
CMYKcmyk(70.5%, 62.4%, 0%, 41.6%)
CIE-LABlab(28.20, 27.46, -52.59)
CIE-LCHlch(28.20, 59.32, 297.57°)
OKLaboklab(39.19% 0.0047 -0.1517)
OKLCHoklch(39.19% 0.152 271.8)
XYZxyz(7.8759, 5.5330, 29.0809)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3895 #95892C
analogous
#2C6C95 #2C3895 #542C95
triadic
#2C3895 #952C38 #38952C
tetradic
#2C3895 #952C6C #95892C #2C9554
square
#2C3895 #952C6C #95892C #2C9554
split-complementary
#2C3895 #95542C #6C952C
monochromatic
#101437 #1E2666 #2C3895 #3A4AC4 #6975D3

Accessibility & contrast

On white

9.97
#2C3895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2C3895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3895
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3895#FFFFFF#000000##FFFFFF
##2C38951.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c3895;
/* rgb */ color: rgb(44, 56, 149);
/* oklch */ color: oklch(39.2% 0.152 271.8);
Tailwind
colors: {
  custom: {
    50: '#746eb5',
    500: '#2c3895',
    950: '#000000',
  },
}
SCSS
$custom: #2c3895;
$custom-light: #746eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3895",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 149
  },
  "hsl": {
    "h": 233.143,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39191,
    "c": 0.15178,
    "h": 271.8
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#2C3895
secondary
#B9AF64
accent
#CD4ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3895

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

Preview Lab → · Contrast checker → · Palette generator →

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