#2C389A#2C389A

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

Color values

HEX#2C389A
RGBrgb(44, 56, 154)
HSLhsl(233, 56%, 39%)
HSVhsv(233, 71%, 60%)
CMYKcmyk(71.4%, 63.6%, 0%, 39.6%)
CIE-LABlab(28.63, 29.30, -54.94)
CIE-LCHlch(28.63, 62.27, 298.07°)
OKLaboklab(39.64% 0.0045 -0.1586)
OKLCHoklch(39.64% 0.159 271.6)
XYZxyz(8.2836, 5.6961, 31.2285)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C389A #9A8E2C
analogous
#2C6F9A #2C389A #572C9A
triadic
#2C389A #9A2C38 #389A2C
tetradic
#2C389A #9A2C6F #9A8E2C #2C9A57
square
#2C389A #9A2C6F #9A8E2C #2C9A57
split-complementary
#2C389A #9A572C #6F9A2C
monochromatic
#11153B #1E276A #2C389A #3C4BC7 #6C77D5

Accessibility & contrast

On white

9.82
#2C389A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2C389A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C389A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C389A#FFFFFF#000000##FFFFFF
##2C389A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c389a;
/* rgb */ color: rgb(44, 56, 154);
/* oklch */ color: oklch(39.6% 0.159 271.6);
Tailwind
colors: {
  custom: {
    50: '#756eb9',
    500: '#2c389a',
    950: '#000000',
  },
}
SCSS
$custom: #2c389a;
$custom-light: #756eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c389a",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 154
  },
  "hsl": {
    "h": 233.455,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39642,
    "c": 0.15867,
    "h": 271.6
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#2C389A
secondary
#BCB266
accent
#CF49DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C389A

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

Preview Lab → · Contrast checker → · Palette generator →

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