#2C4897#2C4897

#2C4897 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.134 H 266.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2C4897
RGBrgb(44, 72, 151)
HSLhsl(224, 55%, 38%)
HSVhsv(224, 71%, 59%)
CMYKcmyk(70.9%, 52.3%, 0%, 40.8%)
CIE-LABlab(32.71, 17.44, -46.49)
CIE-LCHlch(32.71, 49.66, 290.56°)
OKLaboklab(42.62% -0.009 -0.1336)
OKLCHoklch(42.62% 0.134 266.1)
XYZxyz(8.9400, 7.4037, 30.2301)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4897 #977B2C
analogous
#2C7D97 #2C4897 #452C97
triadic
#2C4897 #972C48 #48972C
tetradic
#2C4897 #972C7D #977B2C #2C9745
square
#2C4897 #972C7D #977B2C #2C9745
split-complementary
#2C4897 #97452C #7D972C
monochromatic
#101B38 #1E3168 #2C4897 #3A5FC6 #6A86D4

Accessibility & contrast

On white

8.46
#2C4897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2C4897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4897
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4897#FFFFFF#000000##FFFFFF
##2C48971.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c4897;
/* rgb */ color: rgb(44, 72, 151);
/* oklch */ color: oklch(42.6% 0.134 266.1);
Tailwind
colors: {
  custom: {
    50: '#737ab6',
    500: '#2c4897',
    950: '#000000',
  },
}
SCSS
$custom: #2c4897;
$custom-light: #737ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4897",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 224.299,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42617,
    "c": 0.13387,
    "h": 266.1
  },
  "luminance": 0.07405
}

Semantic roles & 50–950 ramp

primary
#2C4897
secondary
#BAA465
accent
#B74ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4897

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

Preview Lab → · Contrast checker → · Palette generator →

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