#2C2E67#2C2E67

#2C2E67 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.098 H 278.1°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#2C2E67
RGBrgb(44, 46, 103)
HSLhsl(238, 40%, 29%)
HSVhsv(238, 57%, 40%)
CMYKcmyk(57.3%, 55.3%, 0%, 59.6%)
CIE-LABlab(21.83, 17.33, -33.92)
CIE-LCHlch(21.83, 38.09, 297.06°)
OKLaboklab(33.29% 0.0139 -0.0969)
OKLCHoklch(33.29% 0.098 278.1)
XYZxyz(4.4631, 3.4684, 13.2636)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E67 #67652C
analogous
#2C4C67 #2C2E67 #482C67
triadic
#2C2E67 #672C2E #2E672C
tetradic
#2C2E67 #672C4C #67652C #2C6748
square
#2C2E67 #672C4C #67652C #2C6748
split-complementary
#2C2E67 #67482C #4C672C
monochromatic
#090A15 #1A1B3C #2C2E67 #3E4192 #565AB7

Accessibility & contrast

On white

12.40
#2C2E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2C2E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E67
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E67#FFFFFF#000000##FFFFFF
##2C2E671.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3769
Deuteranopia (green-blind)
#063266
Tritanopia (blue-blind)
#103B45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c2e67;
/* rgb */ color: rgb(44, 46, 103);
/* oklch */ color: oklch(33.3% 0.098 278.1);
Tailwind
colors: {
  custom: {
    50: '#6b6693',
    500: '#2c2e67',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e67;
$custom-light: #6b6693;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e67",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 103
  },
  "hsl": {
    "h": 237.966,
    "s": 40.136,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33294,
    "c": 0.09791,
    "h": 278.1
  },
  "luminance": 0.03469
}

Semantic roles & 50–950 ramp

primary
#2C2E67
secondary
#999756
accent
#CC58D0
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2C2E67

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

Preview Lab → · Contrast checker → · Palette generator →

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