#2C4491#2C4491

#2C4491 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.130 H 267.4°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2C4491
RGBrgb(44, 68, 145)
HSLhsl(226, 53%, 37%)
HSVhsv(226, 70%, 57%)
CMYKcmyk(69.7%, 53.1%, 0%, 43.1%)
CIE-LABlab(31.15, 17.86, -45.36)
CIE-LCHlch(31.15, 48.75, 291.49°)
OKLaboklab(41.3% -0.0059 -0.1303)
OKLCHoklch(41.3% 0.13 267.4)
XYZxyz(8.2149, 6.7133, 27.6454)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4491 #91792C
analogous
#2C7691 #2C4491 #472C91
triadic
#2C4491 #912C44 #44912C
tetradic
#2C4491 #912C76 #91792C #2C9147
square
#2C4491 #912C76 #91792C #2C9147
split-complementary
#2C4491 #91472C #76912C
monochromatic
#101833 #1E2E62 #2C4491 #3A5AC0 #6780D1

Accessibility & contrast

On white

8.96
#2C4491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2C4491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4491
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4491#FFFFFF#000000##FFFFFF
##2C44911.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134E94
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c4491;
/* rgb */ color: rgb(44, 68, 145);
/* oklch */ color: oklch(41.3% 0.130 267.4);
Tailwind
colors: {
  custom: {
    50: '#7277b2',
    500: '#2c4491',
    950: '#000000',
  },
}
SCSS
$custom: #2c4491;
$custom-light: #7277b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4491",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 145
  },
  "hsl": {
    "h": 225.743,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41295,
    "c": 0.13043,
    "h": 267.4
  },
  "luminance": 0.06714
}

Semantic roles & 50–950 ramp

primary
#2C4491
secondary
#B7A362
accent
#BA4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4491

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

Preview Lab → · Contrast checker → · Palette generator →

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