#2C2A94#2C2A94

#2C2A94 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.167 H 275.1°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2C2A94
RGBrgb(44, 42, 148)
HSLhsl(241, 56%, 37%)
HSVhsv(241, 72%, 58%)
CMYKcmyk(70.3%, 71.6%, 0%, 42%)
CIE-LABlab(24.73, 36.10, -57.66)
CIE-LCHlch(24.73, 68.03, 302.05°)
OKLaboklab(36.63% 0.015 -0.1666)
OKLCHoklch(36.63% 0.167 275.1)
XYZxyz(7.2102, 4.3289, 28.4668)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A94 #92942A
analogous
#2A5D94 #2C2A94 #612A94
triadic
#2C2A94 #942C2A #2A942C
tetradic
#2C2A94 #942A5D #92942A #2A9461
square
#2C2A94 #942A5D #92942A #2A9461
split-complementary
#2C2A94 #94612A #5D942A
monochromatic
#100F35 #1E1C64 #2C2A94 #3A38C4 #6765D3

Accessibility & contrast

On white

11.25
#2C2A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C2A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A94
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A94#FFFFFF#000000##FFFFFF
##2C2A941.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c2a94;
/* rgb */ color: rgb(44, 42, 148);
/* oklch */ color: oklch(36.6% 0.167 275.1);
Tailwind
colors: {
  custom: {
    50: '#7564b4',
    500: '#2c2a94',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a94;
$custom-light: #7564b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a94",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 241.132,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36634,
    "c": 0.1673,
    "h": 275.1
  },
  "luminance": 0.0433
}

Semantic roles & 50–950 ramp

primary
#2C2A94
secondary
#B8B960
accent
#DF49DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2C2A94

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

Preview Lab → · Contrast checker → · Palette generator →

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