#30299C#30299C

#30299C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.178 H 276.3°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#30299C
RGBrgb(48, 41, 156)
HSLhsl(244, 58%, 39%)
HSVhsv(244, 74%, 61%)
CMYKcmyk(69.2%, 73.7%, 0%, 38.8%)
CIE-LABlab(25.60, 39.89, -61.12)
CIE-LCHlch(25.60, 72.98, 303.13°)
OKLaboklab(37.58% 0.0194 -0.1766)
OKLCHoklch(37.58% 0.178 276.3)
XYZxyz(8.0106, 4.6138, 31.9144)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30299C #959C29
analogous
#295B9C #30299C #69299C
triadic
#30299C #9C3029 #299C30
tetradic
#30299C #9C295B #959C29 #299C69
square
#30299C #9C295B #959C29 #299C69
split-complementary
#30299C #9C6929 #5B9C29
monochromatic
#12103B #211C6C #30299C #4138CB #6F68D7

Accessibility & contrast

On white

10.92
#30299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#30299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30299C
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30299C#FFFFFF#000000##FFFFFF
##30299C1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #30299c;
/* rgb */ color: rgb(48, 41, 156);
/* oklch */ color: oklch(37.6% 0.178 276.3);
Tailwind
colors: {
  custom: {
    50: '#7864ba',
    500: '#30299c',
    950: '#000000',
  },
}
SCSS
$custom: #30299c;
$custom-light: #7864ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30299c",
  "rgb": {
    "r": 48,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 243.652,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37576,
    "c": 0.17767,
    "h": 276.3
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

primary
#30299C
secondary
#B8BE63
accent
#E246D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #30299C

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

Preview Lab → · Contrast checker → · Palette generator →

#30299C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva