#30307A#30307A

#30307A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.123 H 278.1°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#30307A
RGBrgb(48, 48, 122)
HSLhsl(240, 44%, 33%)
HSVhsv(240, 61%, 48%)
CMYKcmyk(60.7%, 60.7%, 0%, 52.2%)
CIE-LABlab(24.15, 23.64, -42.35)
CIE-LCHlch(24.15, 48.50, 299.17°)
OKLaboklab(35.57% 0.0174 -0.1216)
OKLCHoklch(35.57% 0.123 278.1)
XYZxyz(5.7876, 4.1470, 18.9041)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30307A #7A7A30
analogous
#30557A #30307A #55307A
triadic
#30307A #7A3030 #307A30
tetradic
#30307A #7A3055 #7A7A30 #307A55
square
#30307A #7A3055 #7A7A30 #307A55
split-complementary
#30307A #7A5530 #557A30
monochromatic
#0D0D22 #1F1F4E #30307A #4141A6 #6363C2

Accessibility & contrast

On white

11.48
#30307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#30307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30307A
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30307A#FFFFFF#000000##FFFFFF
##30307A1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #30307a;
/* rgb */ color: rgb(48, 48, 122);
/* oklch */ color: oklch(35.6% 0.123 278.1);
Tailwind
colors: {
  custom: {
    50: '#7068a1',
    500: '#30307a',
    950: '#000000',
  },
}
SCSS
$custom: #30307a;
$custom-light: #7068a1;
$custom-dark: #000000;
JSON
{
  "hex": "#30307a",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 240,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35568,
    "c": 0.12282,
    "h": 278.1
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#30307A
secondary
#A9A95D
accent
#D355D3
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #30307A

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

Preview Lab → · Contrast checker → · Palette generator →

#30307A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva