#2C30B5#2C30B5

#2C30B5 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.0% C 0.203 H 271.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2C30B5
RGBrgb(44, 48, 181)
HSLhsl(238, 61%, 44%)
HSVhsv(238, 76%, 71%)
CMYKcmyk(75.7%, 73.5%, 0%, 29%)
CIE-LABlab(29.37, 43.83, -69.98)
CIE-LCHlch(29.37, 82.57, 302.06°)
OKLaboklab(40.96% 0.0064 -0.2026)
OKLCHoklch(40.96% 0.203 271.8)
XYZxyz(10.4333, 5.9845, 44.3124)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C30B5 #B5B12C
analogous
#2C75B5 #2C30B5 #6D2CB5
triadic
#2C30B5 #B52C30 #30B52C
tetradic
#2C30B5 #B52C75 #B5B12C #2CB56D
square
#2C30B5 #B52C75 #B5B12C #2CB56D
split-complementary
#2C30B5 #B56D2C #75B52C
monochromatic
#141653 #202384 #2C30B5 #4B4FD3 #7C7FDF

Accessibility & contrast

On white

9.56
#2C30B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C30B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C30B5
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C30B5#FFFFFF#000000##FFFFFF
##2C30B51.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#003EB3
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c30b5;
/* rgb */ color: rgb(44, 48, 181);
/* oklch */ color: oklch(41.0% 0.203 271.8);
Tailwind
colors: {
  custom: {
    50: '#7c6acc',
    500: '#2c30b5',
    950: '#000000',
  },
}
SCSS
$custom: #2c30b5;
$custom-light: #7c6acc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c30b5",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 238.248,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40961,
    "c": 0.20267,
    "h": 271.8
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#2C30B5
secondary
#C8C575
accent
#DF44E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C30B5

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

Preview Lab → · Contrast checker → · Palette generator →

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