#2C2E73#2C2E73

#2C2E73 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.3% C 0.116 H 277.1°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#2C2E73
RGBrgb(44, 46, 115)
HSLhsl(238, 45%, 31%)
HSVhsv(238, 62%, 45%)
CMYKcmyk(61.7%, 60%, 0%, 54.9%)
CIE-LABlab(22.75, 21.69, -40.18)
CIE-LCHlch(22.75, 45.66, 298.36°)
OKLaboklab(34.27% 0.0144 -0.1153)
OKLCHoklch(34.27% 0.116 277.1)
XYZxyz(5.1092, 3.7269, 16.6665)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E73 #73712C
analogous
#2C5173 #2C2E73 #4D2C73
triadic
#2C2E73 #732C2E #2E732C
tetradic
#2C2E73 #732C51 #73712C #2C734D
square
#2C2E73 #732C51 #73712C #2C734D
split-complementary
#2C2E73 #734D2C #51732C
monochromatic
#0A0B1A #1B1C47 #2C2E73 #3D409F #5A5DC0

Accessibility & contrast

On white

12.03
#2C2E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2E73
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E73#FFFFFF#000000##FFFFFF
##2C2E731.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2e73;
/* rgb */ color: rgb(44, 46, 115);
/* oklch */ color: oklch(34.3% 0.116 277.1);
Tailwind
colors: {
  custom: {
    50: '#6d669c',
    500: '#2c2e73',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e73;
$custom-light: #6d669c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e73",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 238.31,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34271,
    "c": 0.11623,
    "h": 277.1
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#2C2E73
secondary
#A5A256
accent
#D153D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2C2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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