#2C389E#2C389E

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

Color values

HEX#2C389E
RGBrgb(44, 56, 158)
HSLhsl(234, 56%, 40%)
HSVhsv(234, 72%, 62%)
CMYKcmyk(72.2%, 64.6%, 0%, 38%)
CIE-LABlab(28.98, 30.77, -56.80)
CIE-LCHlch(28.98, 64.60, 298.44°)
OKLaboklab(40.01% 0.0043 -0.1641)
OKLCHoklch(40.01% 0.164 271.5)
XYZxyz(8.6223, 5.8316, 33.0123)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C389E #9E922C
analogous
#2C719E #2C389E #592C9E
triadic
#2C389E #9E2C38 #389E2C
tetradic
#2C389E #9E2C71 #9E922C #2C9E59
square
#2C389E #9E2C71 #9E922C #2C9E59
split-complementary
#2C389E #9E592C #719E2C
monochromatic
#11163E #1F276E #2C389E #3E4DC9 #6E79D7

Accessibility & contrast

On white

9.69
#2C389E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C389E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C389E#FFFFFF#000000##FFFFFF
##2C389E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c389e;
/* rgb */ color: rgb(44, 56, 158);
/* oklch */ color: oklch(40.0% 0.164 271.5);
Tailwind
colors: {
  custom: {
    50: '#766ebc',
    500: '#2c389e',
    950: '#000000',
  },
}
SCSS
$custom: #2c389e;
$custom-light: #766ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c389e",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 233.684,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40009,
    "c": 0.16413,
    "h": 271.5
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#2C389E
secondary
#BEB568
accent
#D048E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C389E

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

Preview Lab → · Contrast checker → · Palette generator →

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