#2C3994#2C3994

#2C3994 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.149 H 271.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#2C3994
RGBrgb(44, 57, 148)
HSLhsl(233, 54%, 38%)
HSVhsv(233, 70%, 58%)
CMYKcmyk(70.3%, 61.5%, 0%, 42%)
CIE-LABlab(28.38, 26.42, -51.69)
CIE-LCHlch(28.38, 58.05, 297.07°)
OKLaboklab(39.3% 0.0039 -0.1491)
OKLCHoklch(39.3% 0.149 271.5)
XYZxyz(7.8453, 5.5991, 28.6785)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3994 #94872C
analogous
#2C6D94 #2C3994 #532C94
triadic
#2C3994 #942C39 #39942C
tetradic
#2C3994 #942C6D #94872C #2C9453
square
#2C3994 #942C6D #94872C #2C9453
split-complementary
#2C3994 #94532C #6D942C
monochromatic
#101536 #1E2765 #2C3994 #3A4BC3 #6875D2

Accessibility & contrast

On white

9.91
#2C3994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C3994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3994
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3994#FFFFFF#000000##FFFFFF
##2C39941.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c3994;
/* rgb */ color: rgb(44, 57, 148);
/* oklch */ color: oklch(39.3% 0.149 271.5);
Tailwind
colors: {
  custom: {
    50: '#736fb4',
    500: '#2c3994',
    950: '#000000',
  },
}
SCSS
$custom: #2c3994;
$custom-light: #736fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3994",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 148
  },
  "hsl": {
    "h": 232.5,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39295,
    "c": 0.14911,
    "h": 271.5
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#2C3994
secondary
#B9AE63
accent
#CB4ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3994

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

Preview Lab → · Contrast checker → · Palette generator →

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