#2C3373#2C3373

#2C3373 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.3% C 0.109 H 274.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#2C3373
RGBrgb(44, 51, 115)
HSLhsl(234, 45%, 31%)
HSVhsv(234, 62%, 45%)
CMYKcmyk(61.7%, 55.7%, 0%, 54.9%)
CIE-LABlab(24.13, 18.24, -37.94)
CIE-LCHlch(24.13, 42.10, 295.67°)
OKLaboklab(35.3% 0.0089 -0.1087)
OKLCHoklch(35.3% 0.109 274.7)
XYZxyz(5.3160, 4.1405, 16.7354)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3373 #736C2C
analogous
#2C5673 #2C3373 #482C73
triadic
#2C3373 #732C33 #33732C
tetradic
#2C3373 #732C56 #736C2C #2C7348
square
#2C3373 #732C56 #736C2C #2C7348
split-complementary
#2C3373 #73482C #56732C
monochromatic
#0A0C1A #1B1F47 #2C3373 #3D479F #5A64C0

Accessibility & contrast

On white

11.49
#2C3373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2C3373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3373
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3373#FFFFFF#000000##FFFFFF
##2C33731.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3D75
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c3373;
/* rgb */ color: rgb(44, 51, 115);
/* oklch */ color: oklch(35.3% 0.109 274.7);
Tailwind
colors: {
  custom: {
    50: '#6d6a9c',
    500: '#2c3373',
    950: '#000000',
  },
}
SCSS
$custom: #2c3373;
$custom-light: #6d6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3373",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 115
  },
  "hsl": {
    "h": 234.085,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35304,
    "c": 0.10906,
    "h": 274.7
  },
  "luminance": 0.04141
}

Semantic roles & 50–950 ramp

primary
#2C3373
secondary
#A59D56
accent
#C853D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2C3373

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

Preview Lab → · Contrast checker → · Palette generator →

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