#2C2E75#2C2E75

#2C2E75 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.119 H 276.9°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#2C2E75
RGBrgb(44, 46, 117)
HSLhsl(238, 45%, 32%)
HSVhsv(238, 62%, 46%)
CMYKcmyk(62.4%, 60.7%, 0%, 54.1%)
CIE-LABlab(22.91, 22.42, -41.20)
CIE-LCHlch(22.91, 46.90, 298.55°)
OKLaboklab(34.44% 0.0144 -0.1183)
OKLCHoklch(34.44% 0.119 276.9)
XYZxyz(5.2256, 3.7734, 17.2791)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E75 #75732C
analogous
#2C5375 #2C2E75 #4F2C75
triadic
#2C2E75 #752C2E #2E752C
tetradic
#2C2E75 #752C53 #75732C #2C754F
square
#2C2E75 #752C53 #75732C #2C754F
split-complementary
#2C2E75 #754F2C #53752C
monochromatic
#0B0B1C #1B1D49 #2C2E75 #3D3FA1 #5A5DC1

Accessibility & contrast

On white

11.97
#2C2E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2C2E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E75
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E75#FFFFFF#000000##FFFFFF
##2C2E751.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2e75;
/* rgb */ color: rgb(44, 46, 117);
/* oklch */ color: oklch(34.4% 0.119 276.9);
Tailwind
colors: {
  custom: {
    50: '#6d669d',
    500: '#2c2e75',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e75;
$custom-light: #6d669d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e75",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 238.356,
    "s": 45.342,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3444,
    "c": 0.11921,
    "h": 276.9
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#2C2E75
secondary
#A7A456
accent
#D153D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2C2E75

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

Preview Lab → · Contrast checker → · Palette generator →

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