#2C2F91#2C2F91

#2C2F91 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.157 H 274.3°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2C2F91
RGBrgb(44, 47, 145)
HSLhsl(238, 53%, 37%)
HSVhsv(238, 70%, 57%)
CMYKcmyk(69.7%, 67.6%, 0%, 43.1%)
CIE-LABlab(25.60, 31.90, -54.38)
CIE-LCHlch(25.60, 63.05, 300.40°)
OKLaboklab(37.17% 0.0119 -0.157)
OKLCHoklch(37.17% 0.157 274.3)
XYZxyz(7.1644, 4.6122, 27.2953)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F91 #918E2C
analogous
#2C6291 #2C2F91 #5C2C91
triadic
#2C2F91 #912C2F #2F912C
tetradic
#2C2F91 #912C62 #918E2C #2C915C
square
#2C2F91 #912C62 #918E2C #2C915C
split-complementary
#2C2F91 #915C2C #62912C
monochromatic
#101133 #1E2062 #2C2F91 #3A3EC0 #676AD1

Accessibility & contrast

On white

10.92
#2C2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2C2F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2F91
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F91#FFFFFF#000000##FFFFFF
##2C2F911.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c2f91;
/* rgb */ color: rgb(44, 47, 145);
/* oklch */ color: oklch(37.2% 0.157 274.3);
Tailwind
colors: {
  custom: {
    50: '#7368b2',
    500: '#2c2f91',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f91;
$custom-light: #7368b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f91",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 238.218,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37174,
    "c": 0.15748,
    "h": 274.3
  },
  "luminance": 0.04613
}

Semantic roles & 50–950 ramp

primary
#2C2F91
secondary
#B7B562
accent
#D84BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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