#30248F#30248F

#30248F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.166 H 278.7°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#30248F
RGBrgb(48, 36, 143)
HSLhsl(247, 60%, 35%)
HSVhsv(247, 75%, 56%)
CMYKcmyk(66.4%, 74.8%, 0%, 43.9%)
CIE-LABlab(23.25, 38.47, -57.00)
CIE-LCHlch(23.25, 68.77, 304.01°)
OKLaboklab(35.5% 0.0253 -0.1646)
OKLCHoklch(35.5% 0.166 278.7)
XYZxyz(6.8061, 3.8727, 26.3701)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30248F #838F24
analogous
#244D8F #30248F #66248F
triadic
#30248F #8F3024 #248F30
tetradic
#30248F #8F244D #838F24 #248F66
square
#30248F #8F244D #838F24 #248F66
split-complementary
#30248F #8F6624 #4D8F24
monochromatic
#0F0B2D #20185E #30248F #4030C0 #6658D5

Accessibility & contrast

On white

11.83
#30248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#30248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30248F
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30248F#FFFFFF#000000##FFFFFF
##30248F1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #30248f;
/* rgb */ color: rgb(48, 36, 143);
/* oklch */ color: oklch(35.5% 0.166 278.7);
Tailwind
colors: {
  custom: {
    50: '#7661b1',
    500: '#30248f',
    950: '#000000',
  },
}
SCSS
$custom: #30248f;
$custom-light: #7661b1;
$custom-dark: #000000;
JSON
{
  "hex": "#30248f",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 246.729,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35501,
    "c": 0.16649,
    "h": 278.7
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#30248F
secondary
#AEB955
accent
#E345D1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #30248F

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

Preview Lab → · Contrast checker → · Palette generator →

#30248F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva