#2C4594#2C4594

#2C4594 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.133 H 267.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2C4594
RGBrgb(44, 69, 148)
HSLhsl(226, 54%, 38%)
HSVhsv(226, 70%, 58%)
CMYKcmyk(70.3%, 53.4%, 0%, 42%)
CIE-LABlab(31.64, 18.32, -46.39)
CIE-LCHlch(31.64, 49.87, 291.55°)
OKLaboklab(41.74% -0.0066 -0.1333)
OKLCHoklch(41.74% 0.133 267.2)
XYZxyz(8.5103, 6.9290, 28.9002)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4594 #947B2C
analogous
#2C7994 #2C4594 #472C94
triadic
#2C4594 #942C45 #45942C
tetradic
#2C4594 #942C79 #947B2C #2C9447
square
#2C4594 #942C79 #947B2C #2C9447
split-complementary
#2C4594 #94472C #79942C
monochromatic
#101936 #1E2F65 #2C4594 #3A5BC3 #6882D2

Accessibility & contrast

On white

8.80
#2C4594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2C4594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4594
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4594#FFFFFF#000000##FFFFFF
##2C45941.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114F97
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c4594;
/* rgb */ color: rgb(44, 69, 148);
/* oklch */ color: oklch(41.7% 0.133 267.2);
Tailwind
colors: {
  custom: {
    50: '#7278b4',
    500: '#2c4594',
    950: '#000000',
  },
}
SCSS
$custom: #2c4594;
$custom-light: #7278b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4594",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 148
  },
  "hsl": {
    "h": 225.577,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41742,
    "c": 0.13346,
    "h": 267.2
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#2C4594
secondary
#B9A463
accent
#BA4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4594

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

Preview Lab → · Contrast checker → · Palette generator →

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