#2C387C#2C387C

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

Color values

HEX#2C387C
RGBrgb(44, 56, 124)
HSLhsl(231, 48%, 33%)
HSVhsv(231, 65%, 49%)
CMYKcmyk(64.5%, 54.8%, 0%, 51.4%)
CIE-LABlab(26.21, 18.13, -40.29)
CIE-LCHlch(26.21, 44.18, 294.23°)
OKLaboklab(37.08% 0.0041 -0.1155)
OKLCHoklch(37.08% 0.116 272)
XYZxyz(6.0898, 4.8185, 19.6740)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C387C #7C702C
analogous
#2C607C #2C387C #482C7C
triadic
#2C387C #7C2C38 #387C2C
tetradic
#2C387C #7C2C60 #7C702C #2C7C48
square
#2C387C #7C2C60 #7C702C #2C7C48
split-complementary
#2C387C #7C482C #607C2C
monochromatic
#0C0F22 #1C244F #2C387C #3C4CA9 #5D6DC5

Accessibility & contrast

On white

10.69
#2C387C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2C387C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C387C
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C387C#FFFFFF#000000##FFFFFF
##2C387C1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D427E
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c387c;
/* rgb */ color: rgb(44, 56, 124);
/* oklch */ color: oklch(37.1% 0.116 272.0);
Tailwind
colors: {
  custom: {
    50: '#6e6ea2',
    500: '#2c387c',
    950: '#000000',
  },
}
SCSS
$custom: #2c387c;
$custom-light: #6e6ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c387c",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 231,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3708,
    "c": 0.11562,
    "h": 272
  },
  "luminance": 0.04819
}

Semantic roles & 50–950 ramp

primary
#2C387C
secondary
#AC9F58
accent
#C351D7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2C387C

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

Preview Lab → · Contrast checker → · Palette generator →

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