#2C2A8D#2C2A8D

#2C2A8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.158 H 275.8°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#2C2A8D
RGBrgb(44, 42, 141)
HSLhsl(241, 54%, 36%)
HSVhsv(241, 70%, 55%)
CMYKcmyk(68.8%, 70.2%, 0%, 44.7%)
CIE-LABlab(24.04, 33.66, -54.46)
CIE-LCHlch(24.04, 64.02, 301.72°)
OKLaboklab(35.93% 0.016 -0.1573)
OKLCHoklch(35.93% 0.158 275.8)
XYZxyz(6.6728, 4.1139, 25.6365)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A8D #8B8D2A
analogous
#2A598D #2C2A8D #5D2A8D
triadic
#2C2A8D #8D2C2A #2A8D2C
tetradic
#2C2A8D #8D2A59 #8B8D2A #2A8D5D
square
#2C2A8D #8D2A59 #8B8D2A #2A8D5D
split-complementary
#2C2A8D #8D5D2A #598D2A
monochromatic
#0F0E2F #1D1C5E #2C2A8D #3B38BC #6461D0

Accessibility & contrast

On white

11.52
#2C2A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2C2A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A8D
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A8D#FFFFFF#000000##FFFFFF
##2C2A8D1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2a8d;
/* rgb */ color: rgb(44, 42, 141);
/* oklch */ color: oklch(35.9% 0.158 275.8);
Tailwind
colors: {
  custom: {
    50: '#7364af',
    500: '#2c2a8d',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a8d;
$custom-light: #7364af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a8d",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 241.212,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35932,
    "c": 0.15807,
    "h": 275.8
  },
  "luminance": 0.04114
}

Semantic roles & 50–950 ramp

primary
#2C2A8D
secondary
#B4B65D
accent
#DD4ADA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2C2A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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