#2C4893#2C4893

#2C4893 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.128 H 265.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#2C4893
RGBrgb(44, 72, 147)
HSLhsl(224, 54%, 37%)
HSVhsv(224, 70%, 58%)
CMYKcmyk(70.1%, 51%, 0%, 42.4%)
CIE-LABlab(32.43, 15.91, -44.51)
CIE-LCHlch(32.43, 47.27, 289.67°)
OKLaboklab(42.31% -0.0095 -0.1277)
OKLCHoklch(42.31% 0.128 265.8)
XYZxyz(8.6207, 7.2759, 28.5482)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4893 #93772C
analogous
#2C7C93 #2C4893 #432C93
triadic
#2C4893 #932C48 #48932C
tetradic
#2C4893 #932C7C #93772C #2C9343
square
#2C4893 #932C7C #93772C #2C9343
split-complementary
#2C4893 #93432C #7C932C
monochromatic
#101A35 #1E3164 #2C4893 #3A5FC2 #6885D2

Accessibility & contrast

On white

8.55
#2C4893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4893
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4893#FFFFFF#000000##FFFFFF
##2C48931.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5196
Deuteranopia (green-blind)
#004891
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c4893;
/* rgb */ color: rgb(44, 72, 147);
/* oklch */ color: oklch(42.3% 0.128 265.8);
Tailwind
colors: {
  custom: {
    50: '#727ab3',
    500: '#2c4893',
    950: '#000000',
  },
}
SCSS
$custom: #2c4893;
$custom-light: #727ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4893",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 147
  },
  "hsl": {
    "h": 223.689,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42313,
    "c": 0.12809,
    "h": 265.8
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#2C4893
secondary
#B8A163
accent
#B54ADD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4893

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

Preview Lab → · Contrast checker → · Palette generator →

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