#2C2E68#2C2E68

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

Color values

HEX#2C2E68
RGBrgb(44, 46, 104)
HSLhsl(238, 41%, 29%)
HSVhsv(238, 58%, 41%)
CMYKcmyk(57.7%, 55.8%, 0%, 59.2%)
CIE-LABlab(21.90, 17.69, -34.45)
CIE-LCHlch(21.90, 38.73, 297.18°)
OKLaboklab(33.37% 0.0139 -0.0985)
OKLCHoklch(33.37% 0.099 278.1)
XYZxyz(4.5136, 3.4886, 13.5296)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E68 #68662C
analogous
#2C4C68 #2C2E68 #482C68
triadic
#2C2E68 #682C2E #2E682C
tetradic
#2C2E68 #682C4C #68662C #2C6848
square
#2C2E68 #682C4C #68662C #2C6848
split-complementary
#2C2E68 #68482C #4C682C
monochromatic
#090A16 #1A1B3D #2C2E68 #3E4193 #575AB8

Accessibility & contrast

On white

12.37
#2C2E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2C2E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E68
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E68#FFFFFF#000000##FFFFFF
##2C2E681.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E376A
Deuteranopia (green-blind)
#043267
Tritanopia (blue-blind)
#0F3B46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c2e68;
/* rgb */ color: rgb(44, 46, 104);
/* oklch */ color: oklch(33.4% 0.099 278.1);
Tailwind
colors: {
  custom: {
    50: '#6b6693',
    500: '#2c2e68',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e68;
$custom-light: #6b6693;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e68",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 238,
    "s": 40.541,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33373,
    "c": 0.09947,
    "h": 278.1
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#2C2E68
secondary
#9A9856
accent
#CC57D0
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2C2E68

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

Preview Lab → · Contrast checker → · Palette generator →

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