#2C336F#2C336F

#2C336F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.103 H 274.8°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2C336F
RGBrgb(44, 51, 111)
HSLhsl(234, 43%, 30%)
HSVhsv(234, 60%, 44%)
CMYKcmyk(60.4%, 54.1%, 0%, 56.5%)
CIE-LABlab(23.84, 16.76, -35.85)
CIE-LCHlch(23.84, 39.58, 295.05°)
OKLaboklab(34.99% 0.0086 -0.1026)
OKLCHoklch(34.99% 0.103 274.8)
XYZxyz(5.0908, 4.0505, 15.5494)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C336F #6F682C
analogous
#2C546F #2C336F #462C6F
triadic
#2C336F #6F2C33 #336F2C
tetradic
#2C336F #6F2C54 #6F682C #2C6F46
square
#2C336F #6F2C54 #6F682C #2C6F46
split-complementary
#2C336F #6F462C #546F2C
monochromatic
#090B17 #1B1F43 #2C336F #3D479B #5863BD

Accessibility & contrast

On white

11.60
#2C336F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2C336F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C336F
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C336F#FFFFFF#000000##FFFFFF
##2C336F1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123C71
Deuteranopia (green-blind)
#05366E
Tritanopia (blue-blind)
#02414C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c336f;
/* rgb */ color: rgb(44, 51, 111);
/* oklch */ color: oklch(35.0% 0.103 274.8);
Tailwind
colors: {
  custom: {
    50: '#6c6a99',
    500: '#2c336f',
    950: '#000000',
  },
}
SCSS
$custom: #2c336f;
$custom-light: #6c6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#2c336f",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 233.731,
    "s": 43.226,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3499,
    "c": 0.10292,
    "h": 274.8
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#2C336F
secondary
#A19956
accent
#C655D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2C336F

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

Preview Lab → · Contrast checker → · Palette generator →

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