#2C2F6D#2C2F6D

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

Color values

HEX#2C2F6D
RGBrgb(44, 47, 109)
HSLhsl(237, 42%, 30%)
HSVhsv(237, 60%, 43%)
CMYKcmyk(59.6%, 56.9%, 0%, 57.3%)
CIE-LABlab(22.56, 18.81, -36.63)
CIE-LCHlch(22.56, 41.18, 297.18°)
OKLaboklab(33.98% 0.0131 -0.1049)
OKLCHoklch(33.98% 0.106 277.1)
XYZxyz(4.8147, 3.6723, 14.9201)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F6D #6D6A2C
analogous
#2C4F6D #2C2F6D #4A2C6D
triadic
#2C2F6D #6D2C2F #2F6D2C
tetradic
#2C2F6D #6D2C4F #6D6A2C #2C6D4A
square
#2C2F6D #6D2C4F #6D6A2C #2C6D4A
split-complementary
#2C2F6D #6D4A2C #4F6D2C
monochromatic
#090916 #1A1C41 #2C2F6D #3E4299 #585CBC

Accessibility & contrast

On white

12.11
#2C2F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2C2F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2F6D
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F6D#FFFFFF#000000##FFFFFF
##2C2F6D1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08396F
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#073D49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2f6d;
/* rgb */ color: rgb(44, 47, 109);
/* oklch */ color: oklch(34.0% 0.106 277.1);
Tailwind
colors: {
  custom: {
    50: '#6c6797',
    500: '#2c2f6d',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f6d;
$custom-light: #6c6797;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f6d",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 237.231,
    "s": 42.484,
    "l": 30
  },
  "oklch": {
    "l": 0.33981,
    "c": 0.1057,
    "h": 277.1
  },
  "luminance": 0.03673
}

Semantic roles & 50–950 ramp

primary
#2C2F6D
secondary
#9F9B56
accent
#CD56D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2C2F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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