#2C389F#2C389F

#2C389F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.165 H 271.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2C389F
RGBrgb(44, 56, 159)
HSLhsl(234, 57%, 40%)
HSVhsv(234, 72%, 62%)
CMYKcmyk(72.3%, 64.8%, 0%, 37.6%)
CIE-LABlab(29.07, 31.13, -57.26)
CIE-LCHlch(29.07, 65.18, 298.53°)
OKLaboklab(40.1% 0.0042 -0.1654)
OKLCHoklch(40.1% 0.165 271.5)
XYZxyz(8.7088, 5.8662, 33.4675)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C389F #9F932C
analogous
#2C729F #2C389F #592C9F
triadic
#2C389F #9F2C38 #389F2C
tetradic
#2C389F #9F2C72 #9F932C #2C9F59
square
#2C389F #9F2C72 #9F932C #2C9F59
split-complementary
#2C389F #9F592C #729F2C
monochromatic
#11163F #1F276F #2C389F #3E4DCA #6E79D7

Accessibility & contrast

On white

9.66
#2C389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C389F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C389F#FFFFFF#000000##FFFFFF
##2C389F1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c389f;
/* rgb */ color: rgb(44, 56, 159);
/* oklch */ color: oklch(40.1% 0.165 271.5);
Tailwind
colors: {
  custom: {
    50: '#766ebc',
    500: '#2c389f',
    950: '#000000',
  },
}
SCSS
$custom: #2c389f;
$custom-light: #766ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c389f",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 233.739,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40101,
    "c": 0.16547,
    "h": 271.5
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#2C389F
secondary
#BEB569
accent
#D048E0
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C389F

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

Preview Lab → · Contrast checker → · Palette generator →

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