#2C3E95#2C3E95

#2C3E95 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.144 H 269.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2C3E95
RGBrgb(44, 62, 149)
HSLhsl(230, 54%, 38%)
HSVhsv(230, 70%, 58%)
CMYKcmyk(70.5%, 58.4%, 0%, 41.6%)
CIE-LABlab(29.79, 23.43, -50.01)
CIE-LCHlch(29.79, 55.23, 295.11°)
OKLaboklab(40.37% -0.0003 -0.144)
OKLCHoklch(40.37% 0.144 269.9)
XYZxyz(8.1843, 6.1498, 29.1837)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E95 #95832C
analogous
#2C7395 #2C3E95 #4E2C95
triadic
#2C3E95 #952C3E #3E952C
tetradic
#2C3E95 #952C73 #95832C #2C954E
square
#2C3E95 #952C73 #95832C #2C954E
split-complementary
#2C3E95 #954E2C #73952C
monochromatic
#101737 #1E2A66 #2C3E95 #3A52C4 #697BD3

Accessibility & contrast

On white

9.42
#2C3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2C3E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3E95
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E95#FFFFFF#000000##FFFFFF
##2C3E951.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c3e95;
/* rgb */ color: rgb(44, 62, 149);
/* oklch */ color: oklch(40.4% 0.144 269.9);
Tailwind
colors: {
  custom: {
    50: '#7373b5',
    500: '#2c3e95',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e95;
$custom-light: #7373b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e95",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 229.714,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40369,
    "c": 0.14405,
    "h": 269.9
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#2C3E95
secondary
#B9AB64
accent
#C44ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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