#2C4074#2C4074

#2C4074 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.092 H 266.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2C4074
RGBrgb(44, 64, 116)
HSLhsl(223, 45%, 31%)
HSVhsv(223, 62%, 45%)
CMYKcmyk(62.1%, 44.8%, 0%, 54.5%)
CIE-LABlab(28.01, 9.63, -32.35)
CIE-LCHlch(28.01, 33.75, 286.58°)
OKLaboklab(38.28% -0.006 -0.0921)
OKLCHoklch(38.28% 0.092 266.3)
XYZxyz(6.0234, 5.4627, 17.2566)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4074 #74602C
analogous
#2C6474 #2C4074 #3C2C74
triadic
#2C4074 #742C40 #40742C
tetradic
#2C4074 #742C64 #74602C #2C743C
square
#2C4074 #742C64 #74602C #2C743C
split-complementary
#2C4074 #743C2C #64742C
monochromatic
#0A0F1B #1B2848 #2C4074 #3D58A0 #5A76C0

Accessibility & contrast

On white

10.04
#2C4074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C4074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4074
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4074#FFFFFF#000000##FFFFFF
##2C40741.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#1F3F73
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c4074;
/* rgb */ color: rgb(44, 64, 116);
/* oklch */ color: oklch(38.3% 0.092 266.3);
Tailwind
colors: {
  custom: {
    50: '#6c749c',
    500: '#2c4074',
    950: '#000000',
  },
}
SCSS
$custom: #2c4074;
$custom-light: #6c749c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4074",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 223.333,
    "s": 45,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38277,
    "c": 0.09228,
    "h": 266.3
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#2C4074
secondary
#A69056
accent
#B153D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2C4074

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

Preview Lab → · Contrast checker → · Palette generator →

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