#2C2A8F#2C2A8F

#2C2A8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.161 H 275.6°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#2C2A8F
RGBrgb(44, 42, 143)
HSLhsl(241, 55%, 36%)
HSVhsv(241, 71%, 56%)
CMYKcmyk(69.2%, 70.6%, 0%, 43.9%)
CIE-LABlab(24.24, 34.36, -55.38)
CIE-LCHlch(24.24, 65.17, 301.82°)
OKLaboklab(36.13% 0.0157 -0.16)
OKLCHoklch(36.13% 0.161 275.6)
XYZxyz(6.8230, 4.1740, 26.4274)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A8F #8D8F2A
analogous
#2A5B8F #2C2A8F #5F2A8F
triadic
#2C2A8F #8F2C2A #2A8F2C
tetradic
#2C2A8F #8F2A5B #8D8F2A #2A8F5F
square
#2C2A8F #8F2A5B #8D8F2A #2A8F5F
split-complementary
#2C2A8F #8F5F2A #5B8F2A
monochromatic
#0F0E30 #1D1C60 #2C2A8F #3B38BE #6562D1

Accessibility & contrast

On white

11.44
#2C2A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2C2A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A8F
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A8F#FFFFFF#000000##FFFFFF
##2C2A8F1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2a8f;
/* rgb */ color: rgb(44, 42, 143);
/* oklch */ color: oklch(36.1% 0.161 275.6);
Tailwind
colors: {
  custom: {
    50: '#7364b1',
    500: '#2c2a8f',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a8f;
$custom-light: #7364b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a8f",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 241.188,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36131,
    "c": 0.16073,
    "h": 275.6
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#2C2A8F
secondary
#B5B75E
accent
#DE4ADB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2C2A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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