#2C4C8F#2C4C8F

#2C4C8F is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.9% C 0.117 H 263.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2C4C8F
RGBrgb(44, 76, 143)
HSLhsl(221, 53%, 37%)
HSVhsv(221, 69%, 56%)
CMYKcmyk(69.2%, 46.9%, 0%, 43.9%)
CIE-LABlab(33.32, 11.70, -40.63)
CIE-LCHlch(33.32, 42.28, 286.06°)
OKLaboklab(42.91% -0.014 -0.1163)
OKLCHoklch(42.91% 0.117 263.1)
XYZxyz(8.5793, 7.6867, 27.0128)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4C8F #8F6F2C
analogous
#2C7E8F #2C4C8F #3E2C8F
triadic
#2C4C8F #8F2C4C #4C8F2C
tetradic
#2C4C8F #8F2C7E #8F6F2C #2C8F3E
square
#2C4C8F #8F2C7E #8F6F2C #2C8F3E
split-complementary
#2C4C8F #8F3E2C #7E8F2C
monochromatic
#0F1A31 #1E3360 #2C4C8F #3A65BE #6688D0

Accessibility & contrast

On white

8.28
#2C4C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2C4C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4C8F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4C8F#FFFFFF#000000##FFFFFF
##2C4C8F1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#174A8E
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c4c8f;
/* rgb */ color: rgb(44, 76, 143);
/* oklch */ color: oklch(42.9% 0.117 263.1);
Tailwind
colors: {
  custom: {
    50: '#717db0',
    500: '#2c4c8f',
    950: '#000000',
  },
}
SCSS
$custom: #2c4c8f;
$custom-light: #717db0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4c8f",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 220.606,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42911,
    "c": 0.1171,
    "h": 263.1
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#2C4C8F
secondary
#B69B61
accent
#AE4BDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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