#2C2E7A#2C2E7A

#2C2E7A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.127 H 276.5°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#2C2E7A
RGBrgb(44, 46, 122)
HSLhsl(238, 47%, 33%)
HSVhsv(238, 64%, 48%)
CMYKcmyk(63.9%, 62.3%, 0%, 52.2%)
CIE-LABlab(23.32, 24.24, -43.71)
CIE-LCHlch(23.32, 49.98, 299.01°)
OKLaboklab(34.87% 0.0143 -0.1257)
OKLCHoklch(34.87% 0.127 276.5)
XYZxyz(5.5274, 3.8942, 18.8690)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E7A #7A782C
analogous
#2C557A #2C2E7A #512C7A
triadic
#2C2E7A #7A2C2E #2E7A2C
tetradic
#2C2E7A #7A2C55 #7A782C #2C7A51
square
#2C2E7A #7A2C55 #7A782C #2C7A51
split-complementary
#2C2E7A #7A512C #557A2C
monochromatic
#0C0C20 #1C1D4D #2C2E7A #3C3FA7 #5C5FC4

Accessibility & contrast

On white

11.80
#2C2E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2C2E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E7A
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E7A#FFFFFF#000000##FFFFFF
##2C2E7A1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2e7a;
/* rgb */ color: rgb(44, 46, 122);
/* oklch */ color: oklch(34.9% 0.127 276.5);
Tailwind
colors: {
  custom: {
    50: '#6e66a1',
    500: '#2c2e7a',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e7a;
$custom-light: #6e66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e7a",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 238.462,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34873,
    "c": 0.12654,
    "h": 276.5
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#2C2E7A
secondary
#AAA857
accent
#D351D7
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C2E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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