#2C3889#2C3889

#2C3889 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.135 H 272.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2C3889
RGBrgb(44, 56, 137)
HSLhsl(232, 51%, 35%)
HSVhsv(232, 68%, 54%)
CMYKcmyk(67.9%, 59.1%, 0%, 46.3%)
CIE-LABlab(27.21, 22.99, -46.80)
CIE-LCHlch(27.21, 52.14, 296.17°)
OKLaboklab(38.15% 0.0047 -0.1347)
OKLCHoklch(38.15% 0.135 272)
XYZxyz(6.9667, 5.1693, 24.2927)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3889 #897D2C
analogous
#2C6689 #2C3889 #4E2C89
triadic
#2C3889 #892C38 #38892C
tetradic
#2C3889 #892C66 #897D2C #2C894E
square
#2C3889 #892C66 #897D2C #2C894E
split-complementary
#2C3889 #894E2C #66892C
monochromatic
#0E122C #1D255B #2C3889 #3B4BB7 #6370CD

Accessibility & contrast

On white

10.32
#2C3889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2C3889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3889
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3889#FFFFFF#000000##FFFFFF
##2C38891.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c3889;
/* rgb */ color: rgb(44, 56, 137);
/* oklch */ color: oklch(38.1% 0.135 272.0);
Tailwind
colors: {
  custom: {
    50: '#716eac',
    500: '#2c3889',
    950: '#000000',
  },
}
SCSS
$custom: #2c3889;
$custom-light: #716eac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3889",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 137
  },
  "hsl": {
    "h": 232.258,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38147,
    "c": 0.13478,
    "h": 272
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#2C3889
secondary
#B3A85E
accent
#C94DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3889

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

Preview Lab → · Contrast checker → · Palette generator →

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