#2C3154#2C3154

#2C3154 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.6% C 0.062 H 276.2°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#2C3154
RGBrgb(44, 49, 84)
HSLhsl(233, 31%, 25%)
HSVhsv(233, 48%, 33%)
CMYKcmyk(47.6%, 41.7%, 0%, 67.1%)
CIE-LABlab(21.48, 8.48, -21.99)
CIE-LCHlch(21.48, 23.57, 291.09°)
OKLaboklab(32.62% 0.0067 -0.0619)
OKLCHoklch(32.62% 0.062 276.2)
XYZxyz(3.7368, 3.3720, 8.8398)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3154 #544F2C
analogous
#2C4554 #2C3154 #3B2C54
triadic
#2C3154 #542C31 #31542C
tetradic
#2C3154 #542C45 #544F2C #2C543B
square
#2C3154 #542C45 #544F2C #2C543B
split-complementary
#2C3154 #543B2C #45542C
monochromatic
#0B0C14 #171A2C #2C3154 #41487C #5660A4

Accessibility & contrast

On white

12.54
#2C3154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2C3154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3154
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3154#FFFFFF#000000##FFFFFF
##2C31541.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243555
Deuteranopia (green-blind)
#213253
Tritanopia (blue-blind)
#1F383E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c3154;
/* rgb */ color: rgb(44, 49, 84);
/* oklch */ color: oklch(32.6% 0.062 276.2);
Tailwind
colors: {
  custom: {
    50: '#676884',
    500: '#2c3154',
    950: '#000000',
  },
}
SCSS
$custom: #2c3154;
$custom-light: #676884;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3154",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 84
  },
  "hsl": {
    "h": 232.5,
    "s": 31.25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32623,
    "c": 0.0623,
    "h": 276.2
  },
  "luminance": 0.03372
}

Semantic roles & 50–950 ramp

primary
#2C3154
secondary
#868056
accent
#BB60C7
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #2C3154

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

Preview Lab → · Contrast checker → · Palette generator →

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