#2C30C7#2C30C7

#2C30C7 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.9% C 0.224 H 270.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2C30C7
RGBrgb(44, 48, 199)
HSLhsl(238, 64%, 48%)
HSVhsv(238, 78%, 78%)
CMYKcmyk(77.9%, 75.9%, 0%, 22%)
CIE-LABlab(31.28, 49.80, -77.45)
CIE-LCHlch(31.28, 92.08, 302.74°)
OKLaboklab(42.88% 0.0033 -0.2243)
OKLCHoklch(42.88% 0.224 270.9)
XYZxyz(12.4010, 6.7715, 54.6752)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C30C7 #C7C32C
analogous
#2C7DC7 #2C30C7 #762CC7
triadic
#2C30C7 #C72C30 #30C72C
tetradic
#2C30C7 #C72C7D #C7C32C #2CC776
square
#2C30C7 #C72C7D #C7C32C #2CC776
split-complementary
#2C30C7 #C7762C #7DC72C
monochromatic
#161863 #212495 #2C30C7 #565ADA #898BE5

Accessibility & contrast

On white

8.92
#2C30C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2C30C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C30C7
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C30C7#FFFFFF#000000##FFFFFF
##2C30C71.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CB
Deuteranopia (green-blind)
#0042C4
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c30c7;
/* rgb */ color: rgb(44, 48, 199);
/* oklch */ color: oklch(42.9% 0.224 270.9);
Tailwind
colors: {
  custom: {
    50: '#806bd9',
    500: '#2c30c7',
    950: '#000000',
  },
}
SCSS
$custom: #2c30c7;
$custom-light: #806bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c30c7",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 238.452,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.42879,
    "c": 0.22429,
    "h": 270.9
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#2C30C7
secondary
#CFCC80
accent
#E341E7
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2C30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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