#2C389C#2C389C

#2C389C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.161 H 271.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2C389C
RGBrgb(44, 56, 156)
HSLhsl(234, 56%, 39%)
HSVhsv(234, 72%, 61%)
CMYKcmyk(71.8%, 64.1%, 0%, 38.8%)
CIE-LABlab(28.81, 30.04, -55.87)
CIE-LCHlch(28.81, 63.44, 298.26°)
OKLaboklab(39.83% 0.0044 -0.1613)
OKLCHoklch(39.83% 0.161 271.6)
XYZxyz(8.4516, 5.7633, 32.1131)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C389C #9C902C
analogous
#2C709C #2C389C #582C9C
triadic
#2C389C #9C2C38 #389C2C
tetradic
#2C389C #9C2C70 #9C902C #2C9C58
square
#2C389C #9C2C70 #9C902C #2C9C58
split-complementary
#2C389C #9C582C #709C2C
monochromatic
#11163D #1F276C #2C389C #3D4CC8 #6D78D6

Accessibility & contrast

On white

9.75
#2C389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C389C
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C389C#FFFFFF#000000##FFFFFF
##2C389C1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c389c;
/* rgb */ color: rgb(44, 56, 156);
/* oklch */ color: oklch(39.8% 0.161 271.6);
Tailwind
colors: {
  custom: {
    50: '#756eba',
    500: '#2c389c',
    950: '#000000',
  },
}
SCSS
$custom: #2c389c;
$custom-light: #756eba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c389c",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 233.571,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39825,
    "c": 0.16141,
    "h": 271.6
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#2C389C
secondary
#BDB467
accent
#CF49DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C389C

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

Preview Lab → · Contrast checker → · Palette generator →

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