#2C3261#2C3261

#2C3261 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.082 H 275.6°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#2C3261
RGBrgb(44, 50, 97)
HSLhsl(233, 38%, 28%)
HSVhsv(233, 55%, 38%)
CMYKcmyk(54.6%, 48.5%, 0%, 62%)
CIE-LABlab(22.58, 12.36, -28.80)
CIE-LCHlch(22.58, 31.34, 293.22°)
OKLaboklab(33.73% 0.008 -0.0819)
OKLCHoklch(33.73% 0.082 275.6)
XYZxyz(4.3363, 3.6795, 11.7887)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3261 #615B2C
analogous
#2C4C61 #2C3261 #412C61
triadic
#2C3261 #612C32 #32612C
tetradic
#2C3261 #612C4C #615B2C #2C6141
square
#2C3261 #612C4C #615B2C #2C6141
split-complementary
#2C3261 #61412C #4C612C
monochromatic
#0A0B15 #191C37 #2C3261 #3F488B #5560B2

Accessibility & contrast

On white

12.10
#2C3261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2C3261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3261
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3261#FFFFFF#000000##FFFFFF
##2C32611.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3863
Deuteranopia (green-blind)
#193460
Tritanopia (blue-blind)
#163C44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c3261;
/* rgb */ color: rgb(44, 50, 97);
/* oklch */ color: oklch(33.7% 0.082 275.6);
Tailwind
colors: {
  custom: {
    50: '#69698e',
    500: '#2c3261',
    950: '#000000',
  },
}
SCSS
$custom: #2c3261;
$custom-light: #69698e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3261",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 97
  },
  "hsl": {
    "h": 233.208,
    "s": 37.589,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33729,
    "c": 0.08224,
    "h": 275.6
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#2C3261
secondary
#938C56
accent
#C05ACE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2C3261

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

Preview Lab → · Contrast checker → · Palette generator →

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