#2C30CA#2C30CA

#2C30CA is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.2% C 0.228 H 270.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2C30CA
RGBrgb(44, 48, 202)
HSLhsl(238, 64%, 48%)
HSVhsv(238, 78%, 79%)
CMYKcmyk(78.2%, 76.2%, 0%, 20.8%)
CIE-LABlab(31.61, 50.77, -78.66)
CIE-LCHlch(31.61, 93.63, 302.84°)
OKLaboklab(43.2% 0.0028 -0.2278)
OKLCHoklch(43.2% 0.228 270.7)
XYZxyz(12.7527, 6.9122, 56.5277)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C30CA #CAC62C
analogous
#2C7FCA #2C30CA #772CCA
triadic
#2C30CA #CA2C30 #30CA2C
tetradic
#2C30CA #CA2C7F #CAC62C #2CCA77
square
#2C30CA #CA2C7F #CAC62C #2CCA77
split-complementary
#2C30CA #CA772C #7FCA2C
monochromatic
#161865 #212498 #2C30CA #585CDB #8B8DE6

Accessibility & contrast

On white

8.81
#2C30CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2C30CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C30CA
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C30CA#FFFFFF#000000##FFFFFF
##2C30CA1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0042C7
Tritanopia (blue-blind)
#005E7C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c30ca;
/* rgb */ color: rgb(44, 48, 202);
/* oklch */ color: oklch(43.2% 0.228 270.7);
Tailwind
colors: {
  custom: {
    50: '#816bdc',
    500: '#2c30ca',
    950: '#000000',
  },
}
SCSS
$custom: #2c30ca;
$custom-light: #816bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c30ca",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 202
  },
  "hsl": {
    "h": 238.481,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43204,
    "c": 0.22782,
    "h": 270.7
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C30CA

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

Preview Lab → · Contrast checker → · Palette generator →

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