#2C387A#2C387A

#2C387A is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.113 H 272.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#2C387A
RGBrgb(44, 56, 122)
HSLhsl(231, 47%, 33%)
HSVhsv(231, 64%, 48%)
CMYKcmyk(63.9%, 54.1%, 0%, 52.2%)
CIE-LABlab(26.06, 17.38, -39.27)
CIE-LCHlch(26.06, 42.94, 293.88°)
OKLaboklab(36.92% 0.004 -0.1125)
OKLCHoklch(36.92% 0.113 272)
XYZxyz(5.9646, 4.7685, 19.0147)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C387A #7A6E2C
analogous
#2C5F7A #2C387A #472C7A
triadic
#2C387A #7A2C38 #387A2C
tetradic
#2C387A #7A2C5F #7A6E2C #2C7A47
square
#2C387A #7A2C5F #7A6E2C #2C7A47
split-complementary
#2C387A #7A472C #5F7A2C
monochromatic
#0C0F20 #1C234D #2C387A #3C4DA7 #5C6CC4

Accessibility & contrast

On white

10.75
#2C387A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2C387A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C387A
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C387A#FFFFFF#000000##FFFFFF
##2C387A1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c387a;
/* rgb */ color: rgb(44, 56, 122);
/* oklch */ color: oklch(36.9% 0.113 272.0);
Tailwind
colors: {
  custom: {
    50: '#6e6ea1',
    500: '#2c387a',
    950: '#000000',
  },
}
SCSS
$custom: #2c387a;
$custom-light: #6e6ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c387a",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 230.769,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36923,
    "c": 0.11261,
    "h": 272
  },
  "luminance": 0.04769
}

Semantic roles & 50–950 ramp

primary
#2C387A
secondary
#AA9E57
accent
#C251D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #2C387A

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

Preview Lab → · Contrast checker → · Palette generator →

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