#2C4497#2C4497

#2C4497 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.139 H 267.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#2C4497
RGBrgb(44, 68, 151)
HSLhsl(227, 55%, 38%)
HSVhsv(227, 71%, 59%)
CMYKcmyk(70.9%, 55%, 0%, 40.8%)
CIE-LABlab(31.59, 20.14, -48.31)
CIE-LCHlch(31.59, 52.34, 292.63°)
OKLaboklab(41.77% -0.0054 -0.139)
OKLCHoklch(41.77% 0.139 267.8)
XYZxyz(8.6898, 6.9032, 30.1466)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4497 #977F2C
analogous
#2C7997 #2C4497 #492C97
triadic
#2C4497 #972C44 #44972C
tetradic
#2C4497 #972C79 #977F2C #2C9749
square
#2C4497 #972C79 #977F2C #2C9749
split-complementary
#2C4497 #97492C #79972C
monochromatic
#101938 #1E2F68 #2C4497 #3A5AC6 #6A82D4

Accessibility & contrast

On white

8.82
#2C4497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2C4497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4497
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4497#FFFFFF#000000##FFFFFF
##2C44971.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044F9A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c4497;
/* rgb */ color: rgb(44, 68, 151);
/* oklch */ color: oklch(41.8% 0.139 267.8);
Tailwind
colors: {
  custom: {
    50: '#7377b6',
    500: '#2c4497',
    950: '#000000',
  },
}
SCSS
$custom: #2c4497;
$custom-light: #7377b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4497",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 226.542,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41768,
    "c": 0.13909,
    "h": 267.8
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#2C4497
secondary
#BAA765
accent
#BD4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4497

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

Preview Lab → · Contrast checker → · Palette generator →

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