#2C4191#2C4191

#2C4191 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.134 H 268.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2C4191
RGBrgb(44, 65, 145)
HSLhsl(228, 53%, 37%)
HSVhsv(228, 70%, 57%)
CMYKcmyk(69.7%, 55.2%, 0%, 43.1%)
CIE-LABlab(30.30, 19.89, -46.72)
CIE-LCHlch(30.30, 50.78, 293.06°)
OKLaboklab(40.66% -0.0032 -0.1343)
OKLCHoklch(40.66% 0.134 268.7)
XYZxyz(8.0381, 6.3596, 27.5865)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4191 #917C2C
analogous
#2C7491 #2C4191 #4A2C91
triadic
#2C4191 #912C41 #41912C
tetradic
#2C4191 #912C74 #917C2C #2C914A
square
#2C4191 #912C74 #917C2C #2C914A
split-complementary
#2C4191 #914A2C #74912C
monochromatic
#101733 #1E2C62 #2C4191 #3A56C0 #677DD1

Accessibility & contrast

On white

9.24
#2C4191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2C4191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4191
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4191#FFFFFF#000000##FFFFFF
##2C41911.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054C94
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c4191;
/* rgb */ color: rgb(44, 65, 145);
/* oklch */ color: oklch(40.7% 0.134 268.7);
Tailwind
colors: {
  custom: {
    50: '#7275b2',
    500: '#2c4191',
    950: '#000000',
  },
}
SCSS
$custom: #2c4191;
$custom-light: #7275b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4191",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 145
  },
  "hsl": {
    "h": 227.525,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40658,
    "c": 0.13439,
    "h": 268.7
  },
  "luminance": 0.0636
}

Semantic roles & 50–950 ramp

primary
#2C4191
secondary
#B7A562
accent
#BF4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4191

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

Preview Lab → · Contrast checker → · Palette generator →

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