#2C3899#2C3899

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

Color values

HEX#2C3899
RGBrgb(44, 56, 153)
HSLhsl(233, 55%, 39%)
HSVhsv(233, 71%, 60%)
CMYKcmyk(71.2%, 63.4%, 0%, 40%)
CIE-LABlab(28.55, 28.93, -54.47)
CIE-LCHlch(28.55, 61.68, 297.97°)
OKLaboklab(39.55% 0.0045 -0.1572)
OKLCHoklch(39.55% 0.157 271.7)
XYZxyz(8.2007, 5.6629, 30.7917)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3899 #998D2C
analogous
#2C6E99 #2C3899 #562C99
triadic
#2C3899 #992C38 #38992C
tetradic
#2C3899 #992C6E #998D2C #2C9956
square
#2C3899 #992C6E #998D2C #2C9956
split-complementary
#2C3899 #99562C #6E992C
monochromatic
#11153A #1E2769 #2C3899 #3B4BC7 #6B77D4

Accessibility & contrast

On white

9.85
#2C3899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2C3899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3899
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3899#FFFFFF#000000##FFFFFF
##2C38991.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c3899;
/* rgb */ color: rgb(44, 56, 153);
/* oklch */ color: oklch(39.6% 0.157 271.7);
Tailwind
colors: {
  custom: {
    50: '#746eb8',
    500: '#2c3899',
    950: '#000000',
  },
}
SCSS
$custom: #2c3899;
$custom-light: #746eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3899",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 233.394,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39551,
    "c": 0.15731,
    "h": 271.7
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#2C3899
secondary
#BBB266
accent
#CE49DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3899

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

Preview Lab → · Contrast checker → · Palette generator →

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