#2C30A7#2C30A7

#2C30A7 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.185 H 272.6°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2C30A7
RGBrgb(44, 48, 167)
HSLhsl(238, 58%, 41%)
HSVhsv(238, 74%, 65%)
CMYKcmyk(73.7%, 71.3%, 0%, 34.5%)
CIE-LABlab(27.95, 39.04, -63.95)
CIE-LCHlch(27.95, 74.92, 301.40°)
OKLaboklab(39.52% 0.0085 -0.185)
OKLCHoklch(39.52% 0.185 272.6)
XYZxyz(9.0684, 5.4385, 37.1235)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C30A7 #A7A32C
analogous
#2C6EA7 #2C30A7 #662CA7
triadic
#2C30A7 #A72C30 #30A72C
tetradic
#2C30A7 #A72C6E #A7A32C #2CA766
square
#2C30A7 #A72C6E #A7A32C #2CA766
split-complementary
#2C30A7 #A7662C #6EA72C
monochromatic
#121446 #1F2277 #2C30A7 #4347CD #7377DA

Accessibility & contrast

On white

10.06
#2C30A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C30A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C30A7
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C30A7#FFFFFF#000000##FFFFFF
##2C30A71.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c30a7;
/* rgb */ color: rgb(44, 48, 167);
/* oklch */ color: oklch(39.5% 0.185 272.6);
Tailwind
colors: {
  custom: {
    50: '#7869c2',
    500: '#2c30a7',
    950: '#000000',
  },
}
SCSS
$custom: #2c30a7;
$custom-light: #7869c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c30a7",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 238.049,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39515,
    "c": 0.18518,
    "h": 272.6
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#2C30A7
secondary
#C2BF6D
accent
#DC46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2C30A7

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

Preview Lab → · Contrast checker → · Palette generator →

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