#2C4394#2C4394

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

Color values

HEX#2C4394
RGBrgb(44, 67, 148)
HSLhsl(227, 54%, 38%)
HSVhsv(227, 70%, 58%)
CMYKcmyk(70.3%, 54.7%, 0%, 42%)
CIE-LABlab(31.08, 19.67, -47.29)
CIE-LCHlch(31.08, 51.22, 292.59°)
OKLaboklab(41.32% -0.0047 -0.136)
OKLCHoklch(41.32% 0.136 268)
XYZxyz(8.3893, 6.6871, 28.8598)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4394 #947D2C
analogous
#2C7794 #2C4394 #492C94
triadic
#2C4394 #942C43 #43942C
tetradic
#2C4394 #942C77 #947D2C #2C9449
square
#2C4394 #942C77 #947D2C #2C9449
split-complementary
#2C4394 #94492C #77942C
monochromatic
#101836 #1E2E65 #2C4394 #3A58C3 #6880D2

Accessibility & contrast

On white

8.98
#2C4394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4394
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4394#FFFFFF#000000##FFFFFF
##2C43941.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074E97
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c4394;
/* rgb */ color: rgb(44, 67, 148);
/* oklch */ color: oklch(41.3% 0.136 268.0);
Tailwind
colors: {
  custom: {
    50: '#7276b4',
    500: '#2c4394',
    950: '#000000',
  },
}
SCSS
$custom: #2c4394;
$custom-light: #7276b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4394",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 148
  },
  "hsl": {
    "h": 226.731,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41318,
    "c": 0.13608,
    "h": 268
  },
  "luminance": 0.06688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4394

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

Preview Lab → · Contrast checker → · Palette generator →

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