#2C4063#2C4063

#2C4063 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.2% C 0.066 H 261.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2C4063
RGBrgb(44, 64, 99)
HSLhsl(218, 38%, 28%)
HSVhsv(218, 56%, 39%)
CMYKcmyk(55.6%, 35.4%, 0%, 61.2%)
CIE-LABlab(27.03, 3.42, -23.07)
CIE-LCHlch(27.03, 23.32, 278.44°)
OKLaboklab(37.19% -0.0102 -0.065)
OKLCHoklch(37.19% 0.066 261.1)
XYZxyz(5.1235, 5.1027, 12.5169)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4063 #634F2C
analogous
#2C5B63 #2C4063 #332C63
triadic
#2C4063 #632C40 #40632C
tetradic
#2C4063 #632C5B #634F2C #2C6333
square
#2C4063 #632C5B #634F2C #2C6333
split-complementary
#2C4063 #63332C #5B632C
monochromatic
#090E15 #192539 #2C4063 #3F5B8D #5678B4

Accessibility & contrast

On white

10.39
#2C4063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4063
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4063#FFFFFF#000000##FFFFFF
##2C40631.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324364
Deuteranopia (green-blind)
#2C3E62
Tritanopia (blue-blind)
#10484D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c4063;
/* rgb */ color: rgb(44, 64, 99);
/* oklch */ color: oklch(37.2% 0.066 261.1);
Tailwind
colors: {
  custom: {
    50: '#69748f',
    500: '#2c4063',
    950: '#000000',
  },
}
SCSS
$custom: #2c4063;
$custom-light: #69748f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4063",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 99
  },
  "hsl": {
    "h": 218.182,
    "s": 38.462,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3719,
    "c": 0.06577,
    "h": 261.1
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#2C4063
secondary
#957E56
accent
#A459CE
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #2C4063

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

Preview Lab → · Contrast checker → · Palette generator →

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