#2C3873#2C3873

#2C3873 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.102 H 271.8°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2C3873
RGBrgb(44, 56, 115)
HSLhsl(230, 45%, 31%)
HSVhsv(230, 62%, 45%)
CMYKcmyk(61.7%, 51.3%, 0%, 54.9%)
CIE-LABlab(25.57, 14.77, -35.63)
CIE-LCHlch(25.57, 38.57, 292.52°)
OKLaboklab(36.39% 0.0032 -0.1018)
OKLCHoklch(36.39% 0.102 271.8)
XYZxyz(5.5464, 4.6012, 16.8122)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3873 #73672C
analogous
#2C5B73 #2C3873 #432C73
triadic
#2C3873 #732C38 #38732C
tetradic
#2C3873 #732C5B #73672C #2C7343
square
#2C3873 #732C5B #73672C #2C7343
split-complementary
#2C3873 #73432C #5B732C
monochromatic
#0A0D1A #1B2247 #2C3873 #3D4E9F #5A6BC0

Accessibility & contrast

On white

10.94
#2C3873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2C3873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3873
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3873#FFFFFF#000000##FFFFFF
##2C38731.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4075
Deuteranopia (green-blind)
#0D3A72
Tritanopia (blue-blind)
#004550
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c3873;
/* rgb */ color: rgb(44, 56, 115);
/* oklch */ color: oklch(36.4% 0.102 271.8);
Tailwind
colors: {
  custom: {
    50: '#6c6e9c',
    500: '#2c3873',
    950: '#000000',
  },
}
SCSS
$custom: #2c3873;
$custom-light: #6c6e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3873",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 229.859,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36387,
    "c": 0.10189,
    "h": 271.8
  },
  "luminance": 0.04602
}

Semantic roles & 50–950 ramp

primary
#2C3873
secondary
#A59756
accent
#BF53D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2C3873

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

Preview Lab → · Contrast checker → · Palette generator →

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