#2C4D95#2C4D95

#2C4D95 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.125 H 263.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#2C4D95
RGBrgb(44, 77, 149)
HSLhsl(221, 54%, 38%)
HSVhsv(221, 70%, 58%)
CMYKcmyk(70.5%, 48.3%, 0%, 41.6%)
CIE-LABlab(34.01, 13.31, -43.19)
CIE-LCHlch(34.01, 45.19, 287.14°)
OKLaboklab(43.56% -0.014 -0.1237)
OKLCHoklch(43.56% 0.125 263.6)
XYZxyz(9.1155, 8.0122, 29.4941)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D95 #95742C
analogous
#2C8195 #2C4D95 #402C95
triadic
#2C4D95 #952C4D #4D952C
tetradic
#2C4D95 #952C81 #95742C #2C9540
square
#2C4D95 #952C81 #95742C #2C9540
split-complementary
#2C4D95 #95402C #81952C
monochromatic
#101C37 #1E3566 #2C4D95 #3A65C4 #698AD3

Accessibility & contrast

On white

8.07
#2C4D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2C4D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4D95
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D95#FFFFFF#000000##FFFFFF
##2C4D951.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275598
Deuteranopia (green-blind)
#0F4B94
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c4d95;
/* rgb */ color: rgb(44, 77, 149);
/* oklch */ color: oklch(43.6% 0.125 263.6);
Tailwind
colors: {
  custom: {
    50: '#727eb5',
    500: '#2c4d95',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d95;
$custom-light: #727eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d95",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 149
  },
  "hsl": {
    "h": 221.143,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43564,
    "c": 0.12453,
    "h": 263.6
  },
  "luminance": 0.08013
}

Semantic roles & 50–950 ramp

primary
#2C4D95
secondary
#B99E64
accent
#AF4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4D95

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

Preview Lab → · Contrast checker → · Palette generator →

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