#2C4894#2C4894

#2C4894 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.130 H 265.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2C4894
RGBrgb(44, 72, 148)
HSLhsl(224, 54%, 38%)
HSVhsv(224, 70%, 58%)
CMYKcmyk(70.3%, 51.4%, 0%, 42%)
CIE-LABlab(32.50, 16.29, -45.01)
CIE-LCHlch(32.50, 47.87, 289.90°)
OKLaboklab(42.39% -0.0093 -0.1292)
OKLCHoklch(42.39% 0.13 265.9)
XYZxyz(8.6995, 7.3075, 28.9632)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4894 #94782C
analogous
#2C7C94 #2C4894 #442C94
triadic
#2C4894 #942C48 #48942C
tetradic
#2C4894 #942C7C #94782C #2C9444
square
#2C4894 #942C7C #94782C #2C9444
split-complementary
#2C4894 #94442C #7C942C
monochromatic
#101A36 #1E3165 #2C4894 #3A5FC3 #6885D2

Accessibility & contrast

On white

8.53
#2C4894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2C4894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4894
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4894#FFFFFF#000000##FFFFFF
##2C48941.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5197
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c4894;
/* rgb */ color: rgb(44, 72, 148);
/* oklch */ color: oklch(42.4% 0.130 265.9);
Tailwind
colors: {
  custom: {
    50: '#727ab4',
    500: '#2c4894',
    950: '#000000',
  },
}
SCSS
$custom: #2c4894;
$custom-light: #727ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4894",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 148
  },
  "hsl": {
    "h": 223.846,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42389,
    "c": 0.12954,
    "h": 265.9
  },
  "luminance": 0.07308
}

Semantic roles & 50–950 ramp

primary
#2C4894
secondary
#B9A263
accent
#B64ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4894

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

Preview Lab → · Contrast checker → · Palette generator →

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