#2C4064#2C4064

#2C4064 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.067 H 261.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2C4064
RGBrgb(44, 64, 100)
HSLhsl(219, 39%, 28%)
HSVhsv(219, 56%, 39%)
CMYKcmyk(56%, 36%, 0%, 60.8%)
CIE-LABlab(27.08, 3.78, -23.62)
CIE-LCHlch(27.08, 23.92, 279.09°)
OKLaboklab(37.25% -0.0099 -0.0666)
OKLCHoklch(37.25% 0.067 261.5)
XYZxyz(5.1716, 5.1220, 12.7702)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4064 #64502C
analogous
#2C5C64 #2C4064 #342C64
triadic
#2C4064 #642C40 #40642C
tetradic
#2C4064 #642C5C #64502C #2C6434
square
#2C4064 #642C5C #64502C #2C6434
split-complementary
#2C4064 #64342C #5C642C
monochromatic
#090E15 #192539 #2C4064 #3F5B8E #5678B5

Accessibility & contrast

On white

10.37
#2C4064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2C4064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4064
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4064#FFFFFF#000000##FFFFFF
##2C40641.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324366
Deuteranopia (green-blind)
#2B3E63
Tritanopia (blue-blind)
#0F484D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c4064;
/* rgb */ color: rgb(44, 64, 100);
/* oklch */ color: oklch(37.3% 0.067 261.5);
Tailwind
colors: {
  custom: {
    50: '#697490',
    500: '#2c4064',
    950: '#000000',
  },
}
SCSS
$custom: #2c4064;
$custom-light: #697490;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4064",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 100
  },
  "hsl": {
    "h": 218.571,
    "s": 38.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3725,
    "c": 0.06733,
    "h": 261.5
  },
  "luminance": 0.05122
}

Semantic roles & 50–950 ramp

primary
#2C4064
secondary
#967F56
accent
#A559CF
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #2C4064

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

Preview Lab → · Contrast checker → · Palette generator →

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