#2C2F77#2C2F77

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

Color values

HEX#2C2F77
RGBrgb(44, 47, 119)
HSLhsl(238, 46%, 32%)
HSVhsv(238, 63%, 47%)
CMYKcmyk(63%, 60.5%, 0%, 53.3%)
CIE-LABlab(23.34, 22.46, -41.78)
CIE-LCHlch(23.34, 47.43, 298.27°)
OKLaboklab(34.81% 0.0133 -0.12)
OKLCHoklch(34.81% 0.121 276.3)
XYZxyz(5.3839, 3.9000, 17.9182)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F77 #77742C
analogous
#2C5577 #2C2F77 #4F2C77
triadic
#2C2F77 #772C2F #2F772C
tetradic
#2C2F77 #772C55 #77742C #2C774F
square
#2C2F77 #772C55 #77742C #2C774F
split-complementary
#2C2F77 #774F2C #55772C
monochromatic
#0B0C1E #1B1D4A #2C2F77 #3D41A4 #5B5FC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C2F77#FFFFFF#000000##FFFFFF
##2C2F771.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)
#003B79
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2f77;
/* rgb */ color: rgb(44, 47, 119);
/* oklch */ color: oklch(34.8% 0.121 276.3);
Tailwind
colors: {
  custom: {
    50: '#6e679f',
    500: '#2c2f77',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f77;
$custom-light: #6e679f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f77",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 237.6,
    "s": 46.012,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3481,
    "c": 0.12076,
    "h": 276.3
  },
  "luminance": 0.039
}

Semantic roles & 50–950 ramp

primary
#2C2F77
secondary
#A8A556
accent
#D052D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2C2F77

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

Preview Lab → · Contrast checker → · Palette generator →

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