#2C4294#2C4294

#2C4294 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.137 H 268.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#2C4294
RGBrgb(44, 66, 148)
HSLhsl(227, 54%, 38%)
HSVhsv(227, 70%, 58%)
CMYKcmyk(70.3%, 55.4%, 0%, 42%)
CIE-LABlab(30.81, 20.35, -47.74)
CIE-LCHlch(30.81, 51.90, 293.09°)
OKLaboklab(41.11% -0.0038 -0.1373)
OKLCHoklch(41.11% 0.137 268.4)
XYZxyz(8.3304, 6.5692, 28.8402)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4294 #947E2C
analogous
#2C7694 #2C4294 #4A2C94
triadic
#2C4294 #942C42 #42942C
tetradic
#2C4294 #942C76 #947E2C #2C944A
square
#2C4294 #942C76 #947E2C #2C944A
split-complementary
#2C4294 #944A2C #76942C
monochromatic
#101836 #1E2D65 #2C4294 #3A57C3 #687FD2

Accessibility & contrast

On white

9.08
#2C4294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2C4294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4294
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4294#FFFFFF#000000##FFFFFF
##2C42941.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024D97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4294;
/* rgb */ color: rgb(44, 66, 148);
/* oklch */ color: oklch(41.1% 0.137 268.4);
Tailwind
colors: {
  custom: {
    50: '#7376b4',
    500: '#2c4294',
    950: '#000000',
  },
}
SCSS
$custom: #2c4294;
$custom-light: #7376b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4294",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 227.308,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41108,
    "c": 0.13739,
    "h": 268.4
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#2C4294
secondary
#B9A763
accent
#BE4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4294

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

Preview Lab → · Contrast checker → · Palette generator →

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