#2C389B#2C389B

#2C389B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.160 H 271.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2C389B
RGBrgb(44, 56, 155)
HSLhsl(234, 56%, 39%)
HSVhsv(234, 72%, 61%)
CMYKcmyk(71.6%, 63.9%, 0%, 39.2%)
CIE-LABlab(28.72, 29.67, -55.41)
CIE-LCHlch(28.72, 62.85, 298.17°)
OKLaboklab(39.73% 0.0044 -0.16)
OKLCHoklch(39.73% 0.16 271.6)
XYZxyz(8.3673, 5.7296, 31.6689)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C389B #9B8F2C
analogous
#2C709B #2C389B #582C9B
triadic
#2C389B #9B2C38 #389B2C
tetradic
#2C389B #9B2C70 #9B8F2C #2C9B58
square
#2C389B #9B2C70 #9B8F2C #2C9B58
split-complementary
#2C389B #9B582C #709B2C
monochromatic
#11163C #1E276B #2C389B #3C4BC8 #6C77D5

Accessibility & contrast

On white

9.79
#2C389B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C389B
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C389B#FFFFFF#000000##FFFFFF
##2C389B1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c389b;
/* rgb */ color: rgb(44, 56, 155);
/* oklch */ color: oklch(39.7% 0.160 271.6);
Tailwind
colors: {
  custom: {
    50: '#756eb9',
    500: '#2c389b',
    950: '#000000',
  },
}
SCSS
$custom: #2c389b;
$custom-light: #756eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c389b",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 233.514,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39733,
    "c": 0.16004,
    "h": 271.6
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#2C389B
secondary
#BCB367
accent
#CF49DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2C389B

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

Preview Lab → · Contrast checker → · Palette generator →

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