#2C389D#2C389D

#2C389D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.163 H 271.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2C389D
RGBrgb(44, 56, 157)
HSLhsl(234, 56%, 39%)
HSVhsv(234, 72%, 62%)
CMYKcmyk(72%, 64.3%, 0%, 38.4%)
CIE-LABlab(28.90, 30.40, -56.34)
CIE-LCHlch(28.90, 64.02, 298.35°)
OKLaboklab(39.92% 0.0044 -0.1627)
OKLCHoklch(39.92% 0.163 271.5)
XYZxyz(8.5366, 5.7973, 32.5609)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C389D #9D912C
analogous
#2C719D #2C389D #582C9D
triadic
#2C389D #9D2C38 #389D2C
tetradic
#2C389D #9D2C71 #9D912C #2C9D58
square
#2C389D #9D2C71 #9D912C #2C9D58
split-complementary
#2C389D #9D582C #719D2C
monochromatic
#11163D #1F276D #2C389D #3D4CC9 #6D78D6

Accessibility & contrast

On white

9.72
#2C389D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2C389D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C389D
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C389D#FFFFFF#000000##FFFFFF
##2C389D1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c389d;
/* rgb */ color: rgb(44, 56, 157);
/* oklch */ color: oklch(39.9% 0.163 271.5);
Tailwind
colors: {
  custom: {
    50: '#756ebb',
    500: '#2c389d',
    950: '#000000',
  },
}
SCSS
$custom: #2c389d;
$custom-light: #756ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c389d",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 157
  },
  "hsl": {
    "h": 233.628,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39917,
    "c": 0.16277,
    "h": 271.5
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#2C389D
secondary
#BDB468
accent
#CF48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C389D

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

Preview Lab → · Contrast checker → · Palette generator →

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