#30247B#30247B

#30247B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.140 H 282.0°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#30247B
RGBrgb(48, 36, 123)
HSLhsl(248, 55%, 31%)
HSVhsv(248, 71%, 48%)
CMYKcmyk(61%, 70.7%, 0%, 51.8%)
CIE-LABlab(21.28, 31.80, -47.66)
CIE-LCHlch(21.28, 57.30, 303.71°)
OKLaboklab(33.5% 0.0291 -0.1372)
OKLCHoklch(33.5% 0.14 282)
XYZxyz(5.4238, 3.3198, 19.0900)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30247B #6F7B24
analogous
#24437B #30247B #5B247B
triadic
#30247B #7B3024 #247B30
tetradic
#30247B #7B2443 #6F7B24 #247B5B
square
#30247B #7B2443 #6F7B24 #247B5B
split-complementary
#30247B #7B5B24 #437B24
monochromatic
#0B081C #1E164C #30247B #4232AA #5F4ECB

Accessibility & contrast

On white

12.62
#30247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#30247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30247B
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30247B#FFFFFF#000000##FFFFFF
##30247B1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#013B4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #30247b;
/* rgb */ color: rgb(48, 36, 123);
/* oklch */ color: oklch(33.5% 0.140 282.0);
Tailwind
colors: {
  custom: {
    50: '#7260a2',
    500: '#30247b',
    950: '#000000',
  },
}
SCSS
$custom: #30247b;
$custom-light: #7260a2;
$custom-dark: #000000;
JSON
{
  "hex": "#30247b",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 248.276,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.335,
    "c": 0.14029,
    "h": 282
  },
  "luminance": 0.0332
}

Semantic roles & 50–950 ramp

primary
#30247B
secondary
#A0AD4D
accent
#DE4ACA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #30247B

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

Preview Lab → · Contrast checker → · Palette generator →

#30247B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva