#2C2E8A#2C2E8A

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

Color values

HEX#2C2E8A
RGBrgb(44, 46, 138)
HSLhsl(239, 52%, 36%)
HSVhsv(239, 68%, 54%)
CMYKcmyk(68.1%, 66.7%, 0%, 45.9%)
CIE-LABlab(24.71, 30.04, -51.49)
CIE-LCHlch(24.71, 59.61, 300.25°)
OKLaboklab(36.33% 0.0133 -0.1486)
OKLCHoklch(36.33% 0.149 275.1)
XYZxyz(6.6016, 4.3239, 24.5265)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E8A #8A882C
analogous
#2C5D8A #2C2E8A #592C8A
triadic
#2C2E8A #8A2C2E #2E8A2C
tetradic
#2C2E8A #8A2C5D #8A882C #2C8A59
square
#2C2E8A #8A2C5D #8A882C #2C8A59
split-complementary
#2C2E8A #8A592C #5D8A2C
monochromatic
#0E0F2D #1D1F5C #2C2E8A #3B3DB8 #6365CD

Accessibility & contrast

On white

11.26
#2C2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2C2E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E8A
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E8A#FFFFFF#000000##FFFFFF
##2C2E8A1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c2e8a;
/* rgb */ color: rgb(44, 46, 138);
/* oklch */ color: oklch(36.3% 0.149 275.1);
Tailwind
colors: {
  custom: {
    50: '#7267ad',
    500: '#2c2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e8a;
$custom-light: #7267ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e8a",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 238.723,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36332,
    "c": 0.14916,
    "h": 275.1
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#2C2E8A
secondary
#B4B25E
accent
#D84DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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