#2C2A8B#2C2A8B

#2C2A8B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.155 H 276.0°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2C2A8B
RGBrgb(44, 42, 139)
HSLhsl(241, 54%, 35%)
HSVhsv(241, 70%, 55%)
CMYKcmyk(68.3%, 69.8%, 0%, 45.5%)
CIE-LABlab(23.85, 32.96, -53.53)
CIE-LCHlch(23.85, 62.86, 301.62°)
OKLaboklab(35.74% 0.0163 -0.1545)
OKLCHoklch(35.74% 0.155 276)
XYZxyz(6.5253, 4.0549, 24.8599)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A8B #898B2A
analogous
#2A588B #2C2A8B #5C2A8B
triadic
#2C2A8B #8B2C2A #2A8B2C
tetradic
#2C2A8B #8B2A58 #898B2A #2A8B5C
square
#2C2A8B #8B2A58 #898B2A #2A8B5C
split-complementary
#2C2A8B #8B5C2A #588B2A
monochromatic
#0E0E2D #1D1C5C #2C2A8B #3B38BA #6360CF

Accessibility & contrast

On white

11.60
#2C2A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2C2A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A8B
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A8B#FFFFFF#000000##FFFFFF
##2C2A8B1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2a8b;
/* rgb */ color: rgb(44, 42, 139);
/* oklch */ color: oklch(35.7% 0.155 276.0);
Tailwind
colors: {
  custom: {
    50: '#7264ae',
    500: '#2c2a8b',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a8b;
$custom-light: #7264ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a8b",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 241.237,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35735,
    "c": 0.1554,
    "h": 276
  },
  "luminance": 0.04055
}

Semantic roles & 50–950 ramp

primary
#2C2A8B
secondary
#B3B55C
accent
#DD4BDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2C2A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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