#2C396D#2C396D

#2C396D is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.2% C 0.091 H 270.7°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2C396D
RGBrgb(44, 57, 109)
HSLhsl(228, 42%, 30%)
HSVhsv(228, 60%, 43%)
CMYKcmyk(59.6%, 47.7%, 0%, 57.3%)
CIE-LABlab(25.46, 11.85, -31.97)
CIE-LCHlch(25.46, 34.10, 290.34°)
OKLaboklab(36.18% 0.0011 -0.0911)
OKLCHoklch(36.18% 0.091 270.7)
XYZxyz(5.2612, 4.5655, 15.0690)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C396D #6D602C
analogous
#2C5A6D #2C396D #3F2C6D
triadic
#2C396D #6D2C39 #396D2C
tetradic
#2C396D #6D2C5A #6D602C #2C6D3F
square
#2C396D #6D2C5A #6D602C #2C6D3F
split-complementary
#2C396D #6D3F2C #5A6D2C
monochromatic
#090B16 #1A2241 #2C396D #3E5099 #586CBC

Accessibility & contrast

On white

10.98
#2C396D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2C396D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C396D
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C396D#FFFFFF#000000##FFFFFF
##2C396D1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213F6F
Deuteranopia (green-blind)
#193A6C
Tritanopia (blue-blind)
#04454D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c396d;
/* rgb */ color: rgb(44, 57, 109);
/* oklch */ color: oklch(36.2% 0.091 270.7);
Tailwind
colors: {
  custom: {
    50: '#6b6f97',
    500: '#2c396d',
    950: '#000000',
  },
}
SCSS
$custom: #2c396d;
$custom-light: #6b6f97;
$custom-dark: #000000;
JSON
{
  "hex": "#2c396d",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 228,
    "s": 42.484,
    "l": 30
  },
  "oklch": {
    "l": 0.36175,
    "c": 0.09109,
    "h": 270.7
  },
  "luminance": 0.04566
}

Semantic roles & 50–950 ramp

primary
#2C396D
secondary
#9F9056
accent
#B956D2
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2C396D

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

Preview Lab → · Contrast checker → · Palette generator →

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