#2C336E#2C336E

#2C336E is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.101 H 274.8°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#2C336E
RGBrgb(44, 51, 110)
HSLhsl(234, 43%, 30%)
HSVhsv(234, 60%, 43%)
CMYKcmyk(60%, 53.6%, 0%, 56.9%)
CIE-LABlab(23.77, 16.39, -35.33)
CIE-LCHlch(23.77, 38.95, 294.89°)
OKLaboklab(34.91% 0.0085 -0.101)
OKLCHoklch(34.91% 0.101 274.8)
XYZxyz(5.0361, 4.0286, 15.2610)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C336E #6E672C
analogous
#2C546E #2C336E #462C6E
triadic
#2C336E #6E2C33 #336E2C
tetradic
#2C336E #6E2C54 #6E672C #2C6E46
square
#2C336E #6E2C54 #6E672C #2C6E46
split-complementary
#2C336E #6E462C #546E2C
monochromatic
#090A17 #1B1F42 #2C336E #3D479A #5863BC

Accessibility & contrast

On white

11.63
#2C336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C336E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C336E#FFFFFF#000000##FFFFFF
##2C336E1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133B70
Deuteranopia (green-blind)
#07366D
Tritanopia (blue-blind)
#04404B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c336e;
/* rgb */ color: rgb(44, 51, 110);
/* oklch */ color: oklch(34.9% 0.101 274.8);
Tailwind
colors: {
  custom: {
    50: '#6c6a98',
    500: '#2c336e',
    950: '#000000',
  },
}
SCSS
$custom: #2c336e;
$custom-light: #6c6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#2c336e",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 233.636,
    "s": 42.857,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34912,
    "c": 0.10136,
    "h": 274.8
  },
  "luminance": 0.04029
}

Semantic roles & 50–950 ramp

primary
#2C336E
secondary
#A09856
accent
#C555D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2C336E

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

Preview Lab → · Contrast checker → · Palette generator →

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