#2C396F#2C396F

#2C396F is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.3% C 0.094 H 270.9°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#2C396F
RGBrgb(44, 57, 111)
HSLhsl(228, 43%, 30%)
HSVhsv(228, 60%, 44%)
CMYKcmyk(60.4%, 48.6%, 0%, 56.5%)
CIE-LABlab(25.59, 12.59, -33.04)
CIE-LCHlch(25.59, 35.36, 290.86°)
OKLaboklab(36.32% 0.0015 -0.0942)
OKLCHoklch(36.32% 0.094 270.9)
XYZxyz(5.3701, 4.6090, 15.6425)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C396F #6F622C
analogous
#2C5A6F #2C396F #402C6F
triadic
#2C396F #6F2C39 #396F2C
tetradic
#2C396F #6F2C5A #6F622C #2C6F40
square
#2C396F #6F2C5A #6F622C #2C6F40
split-complementary
#2C396F #6F402C #5A6F2C
monochromatic
#090C17 #1B2243 #2C396F #3D509B #586CBD

Accessibility & contrast

On white

10.93
#2C396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2C396F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C396F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C396F#FFFFFF#000000##FFFFFF
##2C396F1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204071
Deuteranopia (green-blind)
#163A6E
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c396f;
/* rgb */ color: rgb(44, 57, 111);
/* oklch */ color: oklch(36.3% 0.094 270.9);
Tailwind
colors: {
  custom: {
    50: '#6b6f99',
    500: '#2c396f',
    950: '#000000',
  },
}
SCSS
$custom: #2c396f;
$custom-light: #6b6f99;
$custom-dark: #000000;
JSON
{
  "hex": "#2c396f",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 228.358,
    "s": 43.226,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36318,
    "c": 0.09423,
    "h": 270.9
  },
  "luminance": 0.04609
}

Semantic roles & 50–950 ramp

primary
#2C396F
secondary
#A19256
accent
#BB55D3
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2C396F

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

Preview Lab → · Contrast checker → · Palette generator →

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