#2C2F92#2C2F92

#2C2F92 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.159 H 274.2°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2C2F92
RGBrgb(44, 47, 146)
HSLhsl(238, 54%, 37%)
HSVhsv(238, 70%, 57%)
CMYKcmyk(69.9%, 67.8%, 0%, 42.7%)
CIE-LABlab(25.69, 32.26, -54.85)
CIE-LCHlch(25.69, 63.63, 300.46°)
OKLaboklab(37.27% 0.0118 -0.1584)
OKLCHoklch(37.27% 0.159 274.2)
XYZxyz(7.2418, 4.6432, 27.7031)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F92 #928F2C
analogous
#2C6292 #2C2F92 #5C2C92
triadic
#2C2F92 #922C2F #2F922C
tetradic
#2C2F92 #922C62 #928F2C #2C925C
square
#2C2F92 #922C62 #928F2C #2C925C
split-complementary
#2C2F92 #925C2C #62922C
monochromatic
#101134 #1E2063 #2C2F92 #3A3EC1 #676AD1

Accessibility & contrast

On white

10.89
#2C2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2C2F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2F92
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F92#FFFFFF#000000##FFFFFF
##2C2F921.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c2f92;
/* rgb */ color: rgb(44, 47, 146);
/* oklch */ color: oklch(37.3% 0.159 274.2);
Tailwind
colors: {
  custom: {
    50: '#7468b3',
    500: '#2c2f92',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f92;
$custom-light: #7468b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f92",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 238.235,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3727,
    "c": 0.15883,
    "h": 274.2
  },
  "luminance": 0.04644
}

Semantic roles & 50–950 ramp

primary
#2C2F92
secondary
#B8B562
accent
#D94BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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