#2C30B6#2C30B6

#2C30B6 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.1% C 0.204 H 271.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2C30B6
RGBrgb(44, 48, 182)
HSLhsl(238, 61%, 44%)
HSVhsv(238, 76%, 71%)
CMYKcmyk(75.8%, 73.6%, 0%, 28.6%)
CIE-LABlab(29.48, 44.17, -70.41)
CIE-LCHlch(29.48, 83.11, 302.10°)
OKLaboklab(41.07% 0.0062 -0.2038)
OKLCHoklch(41.07% 0.204 271.7)
XYZxyz(10.5363, 6.0256, 44.8547)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C30B6 #B6B22C
analogous
#2C75B6 #2C30B6 #6D2CB6
triadic
#2C30B6 #B62C30 #30B62C
tetradic
#2C30B6 #B62C75 #B6B22C #2CB66D
square
#2C30B6 #B62C75 #B6B22C #2CB66D
split-complementary
#2C30B6 #B66D2C #75B62C
monochromatic
#141653 #202385 #2C30B6 #4C50D4 #7D80E0

Accessibility & contrast

On white

9.52
#2C30B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2C30B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C30B6
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C30B6#FFFFFF#000000##FFFFFF
##2C30B61.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#003FB4
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c30b6;
/* rgb */ color: rgb(44, 48, 182);
/* oklch */ color: oklch(41.1% 0.204 271.7);
Tailwind
colors: {
  custom: {
    50: '#7c6acd',
    500: '#2c30b6',
    950: '#000000',
  },
}
SCSS
$custom: #2c30b6;
$custom-light: #7c6acd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c30b6",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 238.261,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41066,
    "c": 0.20389,
    "h": 271.7
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#2C30B6
secondary
#C8C676
accent
#E044E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C30B6

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

Preview Lab → · Contrast checker → · Palette generator →

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