#2C4062#2C4062

#2C4062 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.1% C 0.064 H 260.6°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2C4062
RGBrgb(44, 64, 98)
HSLhsl(218, 38%, 28%)
HSVhsv(218, 55%, 38%)
CMYKcmyk(55.1%, 34.7%, 0%, 61.6%)
CIE-LABlab(26.97, 3.07, -22.50)
CIE-LCHlch(26.97, 22.71, 277.76°)
OKLaboklab(37.13% -0.0105 -0.0633)
OKLCHoklch(37.13% 0.064 260.6)
XYZxyz(5.0760, 5.0837, 12.2667)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4062 #624E2C
analogous
#2C5B62 #2C4062 #332C62
triadic
#2C4062 #622C40 #40622C
tetradic
#2C4062 #622C5B #624E2C #2C6233
square
#2C4062 #622C5B #624E2C #2C6233
split-complementary
#2C4062 #62332C #5B622C
monochromatic
#090E15 #192438 #2C4062 #3F5C8C #5678B3

Accessibility & contrast

On white

10.41
#2C4062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4062
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4062#FFFFFF#000000##FFFFFF
##2C40621.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334363
Deuteranopia (green-blind)
#2C3D61
Tritanopia (blue-blind)
#12474C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c4062;
/* rgb */ color: rgb(44, 64, 98);
/* oklch */ color: oklch(37.1% 0.064 260.6);
Tailwind
colors: {
  custom: {
    50: '#69748f',
    500: '#2c4062',
    950: '#000000',
  },
}
SCSS
$custom: #2c4062;
$custom-light: #69748f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4062",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 98
  },
  "hsl": {
    "h": 217.778,
    "s": 38.028,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37131,
    "c": 0.06422,
    "h": 260.6
  },
  "luminance": 0.05084
}

Semantic roles & 50–950 ramp

primary
#2C4062
secondary
#947D56
accent
#A35ACE
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #2C4062

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

Preview Lab → · Contrast checker → · Palette generator →

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