#30299E#30299E

#30299E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.180 H 276.0°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#30299E
RGBrgb(48, 41, 158)
HSLhsl(244, 59%, 39%)
HSVhsv(244, 74%, 62%)
CMYKcmyk(69.6%, 74.1%, 0%, 38%)
CIE-LABlab(25.81, 40.55, -62.00)
CIE-LCHlch(25.81, 74.09, 303.19°)
OKLaboklab(37.78% 0.019 -0.1792)
OKLCHoklch(37.78% 0.18 276)
XYZxyz(8.1814, 4.6821, 32.8137)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30299E #979E29
analogous
#295D9E #30299E #6B299E
triadic
#30299E #9E3029 #299E30
tetradic
#30299E #9E295D #979E29 #299E6B
square
#30299E #9E295D #979E29 #299E6B
split-complementary
#30299E #9E6B29 #5D9E29
monochromatic
#12103D #211C6D #30299E #4139CC #7069D8

Accessibility & contrast

On white

10.84
#30299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#30299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30299E
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30299E#FFFFFF#000000##FFFFFF
##30299E1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #30299e;
/* rgb */ color: rgb(48, 41, 158);
/* oklch */ color: oklch(37.8% 0.180 276.0);
Tailwind
colors: {
  custom: {
    50: '#7964bc',
    500: '#30299e',
    950: '#000000',
  },
}
SCSS
$custom: #30299e;
$custom-light: #7964bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30299e",
  "rgb": {
    "r": 48,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 243.59,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37782,
    "c": 0.18019,
    "h": 276
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#30299E
secondary
#B9BF64
accent
#E246D9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #30299E

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

Preview Lab → · Contrast checker → · Palette generator →

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