#2C4B95#2C4B95

#2C4B95 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.127 H 264.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2C4B95
RGBrgb(44, 75, 149)
HSLhsl(222, 54%, 38%)
HSVhsv(222, 70%, 58%)
CMYKcmyk(70.5%, 49.7%, 0%, 41.6%)
CIE-LABlab(33.43, 14.66, -44.12)
CIE-LCHlch(33.43, 46.49, 288.38°)
OKLaboklab(43.12% -0.012 -0.1265)
OKLCHoklch(43.12% 0.127 264.6)
XYZxyz(8.9777, 7.7366, 29.4481)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B95 #95762C
analogous
#2C7F95 #2C4B95 #422C95
triadic
#2C4B95 #952C4B #4B952C
tetradic
#2C4B95 #952C7F #95762C #2C9542
square
#2C4B95 #952C7F #95762C #2C9542
split-complementary
#2C4B95 #95422C #7F952C
monochromatic
#101B37 #1E3366 #2C4B95 #3A63C4 #6988D3

Accessibility & contrast

On white

8.24
#2C4B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2C4B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B95
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B95#FFFFFF#000000##FFFFFF
##2C4B951.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225498
Deuteranopia (green-blind)
#044A93
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c4b95;
/* rgb */ color: rgb(44, 75, 149);
/* oklch */ color: oklch(43.1% 0.127 264.6);
Tailwind
colors: {
  custom: {
    50: '#727cb5',
    500: '#2c4b95',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b95;
$custom-light: #727cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b95",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 222.286,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43121,
    "c": 0.1271,
    "h": 264.6
  },
  "luminance": 0.07738
}

Semantic roles & 50–950 ramp

primary
#2C4B95
secondary
#B9A064
accent
#B24ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4B95

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

Preview Lab → · Contrast checker → · Palette generator →

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