#2C366C#2C366C

#2C366C is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.094 H 272.8°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2C366C
RGBrgb(44, 54, 108)
HSLhsl(231, 42%, 30%)
HSVhsv(231, 59%, 42%)
CMYKcmyk(59.3%, 50%, 0%, 57.6%)
CIE-LABlab(24.50, 13.57, -32.86)
CIE-LCHlch(24.50, 35.55, 292.44°)
OKLaboklab(35.42% 0.0046 -0.0937)
OKLCHoklch(35.42% 0.094 272.8)
XYZxyz(5.0638, 4.2561, 14.7391)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C366C #6C622C
analogous
#2C566C #2C366C #422C6C
triadic
#2C366C #6C2C36 #366C2C
tetradic
#2C366C #6C2C56 #6C622C #2C6C42
square
#2C366C #6C2C56 #6C622C #2C6C42
split-complementary
#2C366C #6C422C #566C2C
monochromatic
#090B16 #1A2041 #2C366C #3E4C97 #5867BB

Accessibility & contrast

On white

11.34
#2C366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2C366C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C366C
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C366C#FFFFFF#000000##FFFFFF
##2C366C1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3D6E
Deuteranopia (green-blind)
#14386B
Tritanopia (blue-blind)
#07424B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c366c;
/* rgb */ color: rgb(44, 54, 108);
/* oklch */ color: oklch(35.4% 0.094 272.8);
Tailwind
colors: {
  custom: {
    50: '#6b6c96',
    500: '#2c366c',
    950: '#000000',
  },
}
SCSS
$custom: #2c366c;
$custom-light: #6b6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#2c366c",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 230.625,
    "s": 42.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35424,
    "c": 0.09384,
    "h": 272.8
  },
  "luminance": 0.04257
}

Semantic roles & 50–950 ramp

primary
#2C366C
secondary
#9E9356
accent
#BF56D2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2C366C

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

Preview Lab → · Contrast checker → · Palette generator →

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