#2C2E70#2C2E70

#2C2E70 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.112 H 277.4°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#2C2E70
RGBrgb(44, 46, 112)
HSLhsl(238, 44%, 31%)
HSVhsv(238, 61%, 44%)
CMYKcmyk(60.7%, 58.9%, 0%, 56.1%)
CIE-LABlab(22.51, 20.59, -38.64)
CIE-LCHlch(22.51, 43.78, 298.06°)
OKLaboklab(34.02% 0.0143 -0.1108)
OKLCHoklch(34.02% 0.112 277.4)
XYZxyz(4.9394, 3.6590, 15.7721)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E70 #706E2C
analogous
#2C5070 #2C2E70 #4C2C70
triadic
#2C2E70 #702C2E #2E702C
tetradic
#2C2E70 #702C50 #706E2C #2C704C
square
#2C2E70 #702C50 #706E2C #2C704C
split-complementary
#2C2E70 #704C2C #50702C
monochromatic
#090A18 #1B1C44 #2C2E70 #3D409C #595CBE

Accessibility & contrast

On white

12.13
#2C2E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2C2E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E70
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E70#FFFFFF#000000##FFFFFF
##2C2E701.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003972
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#023D4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2e70;
/* rgb */ color: rgb(44, 46, 112);
/* oklch */ color: oklch(34.0% 0.112 277.4);
Tailwind
colors: {
  custom: {
    50: '#6c669a',
    500: '#2c2e70',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e70;
$custom-light: #6c669a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e70",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 238.235,
    "s": 43.59,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3402,
    "c": 0.11173,
    "h": 277.4
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#2C2E70
secondary
#A29F56
accent
#D054D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2C2E70

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

Preview Lab → · Contrast checker → · Palette generator →

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