#2C2E9E#2C2E9E

#2C2E9E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.176 H 273.6°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#2C2E9E
RGBrgb(44, 46, 158)
HSLhsl(239, 56%, 40%)
HSVhsv(239, 72%, 62%)
CMYKcmyk(72.2%, 70.9%, 0%, 38%)
CIE-LABlab(26.61, 37.12, -60.69)
CIE-LCHlch(26.61, 71.15, 301.45°)
OKLaboklab(38.29% 0.0109 -0.1755)
OKLCHoklch(38.29% 0.176 273.6)
XYZxyz(8.1852, 4.9573, 32.8666)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E9E #9E9C2C
analogous
#2C679E #2C2E9E #632C9E
triadic
#2C2E9E #9E2C2E #2E9E2C
tetradic
#2C2E9E #9E2C67 #9E9C2C #2C9E63
square
#2C2E9E #9E2C67 #9E9C2C #2C9E63
split-complementary
#2C2E9E #9E632C #679E2C
monochromatic
#11123E #1F206E #2C2E9E #3E40C9 #6E70D7

Accessibility & contrast

On white

10.54
#2C2E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2C2E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E9E
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E9E#FFFFFF#000000##FFFFFF
##2C2E9E1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c2e9e;
/* rgb */ color: rgb(44, 46, 158);
/* oklch */ color: oklch(38.3% 0.176 273.6);
Tailwind
colors: {
  custom: {
    50: '#7767bc',
    500: '#2c2e9e',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e9e;
$custom-light: #7767bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e9e",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 238.947,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38286,
    "c": 0.17582,
    "h": 273.6
  },
  "luminance": 0.04958
}

Semantic roles & 50–950 ramp

primary
#2C2E9E
secondary
#BEBC68
accent
#DD48E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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