#2C2EA8#2C2EA8

#2C2EA8 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.189 H 272.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2C2EA8
RGBrgb(44, 46, 168)
HSLhsl(239, 58%, 42%)
HSVhsv(239, 74%, 66%)
CMYKcmyk(73.8%, 72.6%, 0%, 34.1%)
CIE-LABlab(27.62, 40.58, -65.10)
CIE-LCHlch(27.62, 76.71, 301.94°)
OKLaboklab(39.31% 0.0094 -0.1883)
OKLCHoklch(39.31% 0.189 272.9)
XYZxyz(9.0812, 5.3157, 37.5856)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EA8 #A8A62C
analogous
#2C6CA8 #2C2EA8 #682CA8
triadic
#2C2EA8 #A82C2E #2EA82C
tetradic
#2C2EA8 #A82C6C #A8A62C #2CA868
square
#2C2EA8 #A82C6C #A8A62C #2CA868
split-complementary
#2C2EA8 #A8682C #6CA82C
monochromatic
#131347 #1F2178 #2C2EA8 #4346CE #7476DB

Accessibility & contrast

On white

10.18
#2C2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2C2EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EA8
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EA8#FFFFFF#000000##FFFFFF
##2C2EA81.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c2ea8;
/* rgb */ color: rgb(44, 46, 168);
/* oklch */ color: oklch(39.3% 0.189 272.9);
Tailwind
colors: {
  custom: {
    50: '#7968c3',
    500: '#2c2ea8',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ea8;
$custom-light: #7968c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ea8",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 239.032,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39307,
    "c": 0.18858,
    "h": 272.9
  },
  "luminance": 0.05317
}

Semantic roles & 50–950 ramp

primary
#2C2EA8
secondary
#C2C16E
accent
#DF46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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