#2C336A#2C336A

#2C336A is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.095 H 274.8°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#2C336A
RGBrgb(44, 51, 106)
HSLhsl(233, 41%, 29%)
HSVhsv(233, 58%, 42%)
CMYKcmyk(58.5%, 51.9%, 0%, 58.4%)
CIE-LABlab(23.48, 14.93, -33.21)
CIE-LCHlch(23.48, 36.41, 294.20°)
OKLaboklab(34.61% 0.008 -0.0948)
OKLCHoklch(34.61% 0.095 274.8)
XYZxyz(4.8232, 3.9434, 14.1399)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C336A #6A632C
analogous
#2C526A #2C336A #442C6A
triadic
#2C336A #6A2C33 #336A2C
tetradic
#2C336A #6A2C52 #6A632C #2C6A44
square
#2C336A #6A2C52 #6A632C #2C6A44
split-complementary
#2C336A #6A442C #526A2C
monochromatic
#090A16 #1A1E3F #2C336A #3E4895 #5762B9

Accessibility & contrast

On white

11.74
#2C336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2C336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C336A
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C336A#FFFFFF#000000##FFFFFF
##2C336A1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183B6C
Deuteranopia (green-blind)
#0F3569
Tritanopia (blue-blind)
#0B3F49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c336a;
/* rgb */ color: rgb(44, 51, 106);
/* oklch */ color: oklch(34.6% 0.095 274.8);
Tailwind
colors: {
  custom: {
    50: '#6b6a95',
    500: '#2c336a',
    950: '#000000',
  },
}
SCSS
$custom: #2c336a;
$custom-light: #6b6a95;
$custom-dark: #000000;
JSON
{
  "hex": "#2c336a",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 233.226,
    "s": 41.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34609,
    "c": 0.09511,
    "h": 274.8
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#2C336A
secondary
#9C9456
accent
#C357D1
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2C336A

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

Preview Lab → · Contrast checker → · Palette generator →

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