#2C2F6E#2C2F6E

#2C2F6E is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.107 H 277.0°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#2C2F6E
RGBrgb(44, 47, 110)
HSLhsl(237, 43%, 30%)
HSVhsv(237, 60%, 43%)
CMYKcmyk(60%, 57.3%, 0%, 56.9%)
CIE-LABlab(22.63, 19.17, -37.16)
CIE-LCHlch(22.63, 41.81, 297.30°)
OKLaboklab(34.06% 0.0131 -0.1064)
OKLCHoklch(34.06% 0.107 277)
XYZxyz(4.8688, 3.6939, 15.2053)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F6E #6E6B2C
analogous
#2C506E #2C2F6E #4A2C6E
triadic
#2C2F6E #6E2C2F #2F6E2C
tetradic
#2C2F6E #6E2C50 #6E6B2C #2C6E4A
square
#2C2F6E #6E2C50 #6E6B2C #2C6E4A
split-complementary
#2C2F6E #6E4A2C #506E2C
monochromatic
#090A17 #1B1C42 #2C2F6E #3D429A #585DBC

Accessibility & contrast

On white

12.08
#2C2F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2C2F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2F6E
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F6E#FFFFFF#000000##FFFFFF
##2C2F6E1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063970
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#053E49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2f6e;
/* rgb */ color: rgb(44, 47, 110);
/* oklch */ color: oklch(34.1% 0.107 277.0);
Tailwind
colors: {
  custom: {
    50: '#6c6798',
    500: '#2c2f6e',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f6e;
$custom-light: #6c6798;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f6e",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 237.273,
    "s": 42.857,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34062,
    "c": 0.10723,
    "h": 277
  },
  "luminance": 0.03694
}

Semantic roles & 50–950 ramp

primary
#2C2F6E
secondary
#A09C56
accent
#CD55D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2C2F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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