#2C4493#2C4493

#2C4493 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.133 H 267.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2C4493
RGBrgb(44, 68, 147)
HSLhsl(226, 54%, 37%)
HSVhsv(226, 70%, 58%)
CMYKcmyk(70.1%, 53.7%, 0%, 42.4%)
CIE-LABlab(31.29, 18.62, -46.35)
CIE-LCHlch(31.29, 49.95, 291.88°)
OKLaboklab(41.45% -0.0057 -0.1332)
OKLCHoklch(41.45% 0.133 267.5)
XYZxyz(8.3705, 6.7755, 28.4648)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4493 #937B2C
analogous
#2C7893 #2C4493 #472C93
triadic
#2C4493 #932C44 #44932C
tetradic
#2C4493 #932C78 #937B2C #2C9347
square
#2C4493 #932C78 #937B2C #2C9347
split-complementary
#2C4493 #93472C #78932C
monochromatic
#101835 #1E2E64 #2C4493 #3A5AC2 #6880D2

Accessibility & contrast

On white

8.92
#2C4493 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2C4493 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4493
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4493#FFFFFF#000000##FFFFFF
##2C44931.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4F96
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c4493;
/* rgb */ color: rgb(44, 68, 147);
/* oklch */ color: oklch(41.5% 0.133 267.5);
Tailwind
colors: {
  custom: {
    50: '#7277b3',
    500: '#2c4493',
    950: '#000000',
  },
}
SCSS
$custom: #2c4493;
$custom-light: #7277b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4493",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 147
  },
  "hsl": {
    "h": 226.019,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41451,
    "c": 0.13332,
    "h": 267.5
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#2C4493
secondary
#B8A463
accent
#BB4ADD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4493

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

Preview Lab → · Contrast checker → · Palette generator →

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