#2C387D#2C387D

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

Color values

HEX#2C387D
RGBrgb(44, 56, 125)
HSLhsl(231, 48%, 33%)
HSVhsv(231, 65%, 49%)
CMYKcmyk(64.8%, 55.2%, 0%, 51%)
CIE-LABlab(26.29, 18.50, -40.80)
CIE-LCHlch(26.29, 44.80, 294.39°)
OKLaboklab(37.16% 0.0042 -0.117)
OKLCHoklch(37.16% 0.117 272)
XYZxyz(6.1533, 4.8440, 20.0088)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C387D #7D712C
analogous
#2C607D #2C387D #482C7D
triadic
#2C387D #7D2C38 #387D2C
tetradic
#2C387D #7D2C60 #7D712C #2C7D48
square
#2C387D #7D2C60 #7D712C #2C7D48
split-complementary
#2C387D #7D482C #607D2C
monochromatic
#0C0F22 #1C2450 #2C387D #3C4CAA #5D6DC6

Accessibility & contrast

On white

10.67
#2C387D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C387D
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C387D#FFFFFF#000000##FFFFFF
##2C387D1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B427F
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c387d;
/* rgb */ color: rgb(44, 56, 125);
/* oklch */ color: oklch(37.2% 0.117 272.0);
Tailwind
colors: {
  custom: {
    50: '#6e6ea3',
    500: '#2c387d',
    950: '#000000',
  },
}
SCSS
$custom: #2c387d;
$custom-light: #6e6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c387d",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 231.111,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3716,
    "c": 0.11712,
    "h": 272
  },
  "luminance": 0.04844
}

Semantic roles & 50–950 ramp

primary
#2C387D
secondary
#ACA059
accent
#C350D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2C387D

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

Preview Lab → · Contrast checker → · Palette generator →

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