#2C386A#2C386A

#2C386A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.088 H 271.2°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2C386A
RGBrgb(44, 56, 106)
HSLhsl(228, 41%, 29%)
HSVhsv(228, 58%, 42%)
CMYKcmyk(58.5%, 47.2%, 0%, 58.4%)
CIE-LABlab(24.96, 11.44, -30.83)
CIE-LCHlch(24.96, 32.89, 290.36°)
OKLaboklab(35.74% 0.0019 -0.0877)
OKLCHoklch(35.74% 0.088 271.2)
XYZxyz(5.0535, 4.4041, 14.2166)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C386A #6A5E2C
analogous
#2C576A #2C386A #3F2C6A
triadic
#2C386A #6A2C38 #386A2C
tetradic
#2C386A #6A2C57 #6A5E2C #2C6A3F
square
#2C386A #6A2C57 #6A5E2C #2C6A3F
split-complementary
#2C386A #6A3F2C #576A2C
monochromatic
#090B16 #1A213F #2C386A #3E4F95 #576AB9

Accessibility & contrast

On white

11.17
#2C386A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2C386A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C386A
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C386A#FFFFFF#000000##FFFFFF
##2C386A1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223E6C
Deuteranopia (green-blind)
#1A3969
Tritanopia (blue-blind)
#09434B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c386a;
/* rgb */ color: rgb(44, 56, 106);
/* oklch */ color: oklch(35.7% 0.088 271.2);
Tailwind
colors: {
  custom: {
    50: '#6b6e95',
    500: '#2c386a',
    950: '#000000',
  },
}
SCSS
$custom: #2c386a;
$custom-light: #6b6e95;
$custom-dark: #000000;
JSON
{
  "hex": "#2c386a",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 106
  },
  "hsl": {
    "h": 228.387,
    "s": 41.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35735,
    "c": 0.08777,
    "h": 271.2
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

primary
#2C386A
secondary
#9C8E56
accent
#B957D1
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2C386A

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

Preview Lab → · Contrast checker → · Palette generator →

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