#2C3A95#2C3A95

#2C3A95 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.149 H 271.2°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2C3A95
RGBrgb(44, 58, 149)
HSLhsl(232, 54%, 38%)
HSVhsv(232, 70%, 58%)
CMYKcmyk(70.5%, 61.1%, 0%, 41.6%)
CIE-LABlab(28.72, 26.12, -51.74)
CIE-LCHlch(28.72, 57.96, 296.79°)
OKLaboklab(39.58% 0.003 -0.1492)
OKLCHoklch(39.58% 0.149 271.2)
XYZxyz(7.9747, 5.7307, 29.1138)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A95 #95872C
analogous
#2C6E95 #2C3A95 #522C95
triadic
#2C3A95 #952C3A #3A952C
tetradic
#2C3A95 #952C6E #95872C #2C9552
square
#2C3A95 #952C6E #95872C #2C9552
split-complementary
#2C3A95 #95522C #6E952C
monochromatic
#101537 #1E2866 #2C3A95 #3A4CC4 #6977D3

Accessibility & contrast

On white

9.78
#2C3A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C3A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A95
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A95#FFFFFF#000000##FFFFFF
##2C3A951.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c3a95;
/* rgb */ color: rgb(44, 58, 149);
/* oklch */ color: oklch(39.6% 0.149 271.2);
Tailwind
colors: {
  custom: {
    50: '#7370b5',
    500: '#2c3a95',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a95;
$custom-light: #7370b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a95",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 149
  },
  "hsl": {
    "h": 232,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39577,
    "c": 0.14922,
    "h": 271.2
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#2C3A95
secondary
#B9AE64
accent
#CA4ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3A95

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

Preview Lab → · Contrast checker → · Palette generator →

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