#30248E#30248E

#30248E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.165 H 278.9°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#30248E
RGBrgb(48, 36, 142)
HSLhsl(247, 60%, 35%)
HSVhsv(247, 75%, 56%)
CMYKcmyk(66.2%, 74.6%, 0%, 44.3%)
CIE-LABlab(23.14, 38.14, -56.55)
CIE-LCHlch(23.14, 68.20, 304.00°)
OKLaboklab(35.4% 0.0255 -0.1632)
OKLCHoklch(35.4% 0.165 278.9)
XYZxyz(6.7307, 3.8426, 25.9729)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30248E #828E24
analogous
#244D8E #30248E #65248E
triadic
#30248E #8E3024 #248E30
tetradic
#30248E #8E244D #828E24 #248E65
square
#30248E #8E244D #828E24 #248E65
split-complementary
#30248E #8E6524 #4D8E24
monochromatic
#0F0B2C #1F185D #30248E #4130BF #6658D5

Accessibility & contrast

On white

11.87
#30248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30248E
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30248E#FFFFFF#000000##FFFFFF
##30248E1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30248e;
/* rgb */ color: rgb(48, 36, 142);
/* oklch */ color: oklch(35.4% 0.165 278.9);
Tailwind
colors: {
  custom: {
    50: '#7661b0',
    500: '#30248e',
    950: '#000000',
  },
}
SCSS
$custom: #30248e;
$custom-light: #7661b0;
$custom-dark: #000000;
JSON
{
  "hex": "#30248e",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 246.792,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35397,
    "c": 0.16522,
    "h": 278.9
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30248E

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

Preview Lab → · Contrast checker → · Palette generator →

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