#2C30C0#2C30C0

#2C30C0 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.1% C 0.216 H 271.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2C30C0
RGBrgb(44, 48, 192)
HSLhsl(238, 63%, 46%)
HSVhsv(238, 77%, 75%)
CMYKcmyk(77.1%, 75%, 0%, 24.7%)
CIE-LABlab(30.53, 47.50, -74.58)
CIE-LCHlch(30.53, 88.43, 302.49°)
OKLaboklab(42.13% 0.0046 -0.2159)
OKLCHoklch(42.13% 0.216 271.2)
XYZxyz(11.6069, 6.4539, 50.4930)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C30C0 #C0BC2C
analogous
#2C7AC0 #2C30C0 #722CC0
triadic
#2C30C0 #C02C30 #30C02C
tetradic
#2C30C0 #C02C7A #C0BC2C #2CC072
square
#2C30C0 #C02C7A #C0BC2C #2CC072
split-complementary
#2C30C0 #C0722C #7AC02C
monochromatic
#15175C #21248E #2C30C0 #5255D7 #8486E3

Accessibility & contrast

On white

9.17
#2C30C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2C30C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C30C0
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C30C0#FFFFFF#000000##FFFFFF
##2C30C01.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC4
Deuteranopia (green-blind)
#0040BD
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c30c0;
/* rgb */ color: rgb(44, 48, 192);
/* oklch */ color: oklch(42.1% 0.216 271.2);
Tailwind
colors: {
  custom: {
    50: '#7e6ad4',
    500: '#2c30c0',
    950: '#000000',
  },
}
SCSS
$custom: #2c30c0;
$custom-light: #7e6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c30c0",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 238.378,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42126,
    "c": 0.216,
    "h": 271.2
  },
  "luminance": 0.06455
}

Semantic roles & 50–950 ramp

primary
#2C30C0
secondary
#CCCA7C
accent
#E142E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2C30C0

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

Preview Lab → · Contrast checker → · Palette generator →

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