#2C344E#2C344E

#2C344E is a dark, muted blue. Relative luminance 0.035; OKLCH L 33.0% C 0.048 H 270.5°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#2C344E
RGBrgb(44, 52, 78)
HSLhsl(226, 28%, 24%)
HSVhsv(226, 44%, 31%)
CMYKcmyk(43.6%, 33.3%, 0%, 69.4%)
CIE-LABlab(22.09, 4.36, -17.02)
CIE-LCHlch(22.09, 17.57, 284.38°)
OKLaboklab(32.99% 0.0005 -0.0475)
OKLCHoklch(32.99% 0.048 270.5)
XYZxyz(3.6414, 3.5413, 7.6979)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C344E #4E462C
analogous
#2C454E #2C344E #352C4E
triadic
#2C344E #4E2C34 #344E2C
tetradic
#2C344E #4E2C45 #4E462C #2C4E35
square
#2C344E #4E2C45 #4E462C #2C4E35
split-complementary
#2C344E #4E352C #454E2C
monochromatic
#0B0D14 #161A27 #2C344E #424E75 #58689C

Accessibility & contrast

On white

12.29
#2C344E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2C344E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C344E
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C344E#FFFFFF#000000##FFFFFF
##2C344E1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364F
Deuteranopia (green-blind)
#28344D
Tritanopia (blue-blind)
#21393D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c344e;
/* rgb */ color: rgb(44, 52, 78);
/* oklch */ color: oklch(33.0% 0.048 270.5);
Tailwind
colors: {
  custom: {
    50: '#676b7f',
    500: '#2c344e',
    950: '#000000',
  },
}
SCSS
$custom: #2c344e;
$custom-light: #676b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c344e",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 78
  },
  "hsl": {
    "h": 225.882,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32992,
    "c": 0.04752,
    "h": 270.5
  },
  "luminance": 0.03542
}

Semantic roles & 50–950 ramp

primary
#2C344E
secondary
#807656
accent
#AD64C4
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2C344E

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

Preview Lab → · Contrast checker → · Palette generator →

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