#2C2EAB#2C2EAB

#2C2EAB is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.192 H 272.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2C2EAB
RGBrgb(44, 46, 171)
HSLhsl(239, 59%, 42%)
HSVhsv(239, 74%, 67%)
CMYKcmyk(74.3%, 73.1%, 0%, 32.9%)
CIE-LABlab(27.92, 41.60, -66.40)
CIE-LCHlch(27.92, 78.35, 302.07°)
OKLaboklab(39.62% 0.009 -0.1921)
OKLCHoklch(39.62% 0.192 272.7)
XYZxyz(9.3639, 5.4288, 39.0745)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EAB #ABA92C
analogous
#2C6EAB #2C2EAB #6A2CAB
triadic
#2C2EAB #AB2C2E #2EAB2C
tetradic
#2C2EAB #AB2C6E #ABA92C #2CAB6A
square
#2C2EAB #AB2C6E #ABA92C #2CAB6A
split-complementary
#2C2EAB #AB6A2C #6EAB2C
monochromatic
#13144A #1F217A #2C2EAB #4547CF #7677DC

Accessibility & contrast

On white

10.07
#2C2EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C2EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EAB
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EAB#FFFFFF#000000##FFFFFF
##2C2EAB1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003CA9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c2eab;
/* rgb */ color: rgb(44, 46, 171);
/* oklch */ color: oklch(39.6% 0.192 272.7);
Tailwind
colors: {
  custom: {
    50: '#7a68c5',
    500: '#2c2eab',
    950: '#000000',
  },
}
SCSS
$custom: #2c2eab;
$custom-light: #7a68c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2eab",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 239.055,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39618,
    "c": 0.19233,
    "h": 272.7
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#2C2EAB
secondary
#C3C26F
accent
#E046E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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