#2C387E#2C387E

#2C387E is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.2% C 0.119 H 272.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2C387E
RGBrgb(44, 56, 126)
HSLhsl(231, 48%, 33%)
HSVhsv(231, 65%, 49%)
CMYKcmyk(65.1%, 55.6%, 0%, 50.6%)
CIE-LABlab(26.36, 18.88, -41.31)
CIE-LCHlch(26.36, 45.42, 294.56°)
OKLaboklab(37.24% 0.0043 -0.1185)
OKLCHoklch(37.24% 0.119 272.1)
XYZxyz(6.2175, 4.8697, 20.3469)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C387E #7E722C
analogous
#2C617E #2C387E #492C7E
triadic
#2C387E #7E2C38 #387E2C
tetradic
#2C387E #7E2C61 #7E722C #2C7E49
square
#2C387E #7E2C61 #7E722C #2C7E49
split-complementary
#2C387E #7E492C #617E2C
monochromatic
#0C1023 #1C2451 #2C387E #3C4CAB #5E6DC7

Accessibility & contrast

On white

10.64
#2C387E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2C387E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C387E
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C387E#FFFFFF#000000##FFFFFF
##2C387E1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094280
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c387e;
/* rgb */ color: rgb(44, 56, 126);
/* oklch */ color: oklch(37.2% 0.119 272.1);
Tailwind
colors: {
  custom: {
    50: '#6e6ea4',
    500: '#2c387e',
    950: '#000000',
  },
}
SCSS
$custom: #2c387e;
$custom-light: #6e6ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c387e",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 231.22,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3724,
    "c": 0.11863,
    "h": 272.1
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#2C387E
secondary
#ADA159
accent
#C450D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2C387E

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

Preview Lab → · Contrast checker → · Palette generator →

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