#30307D#30307D

#30307D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.127 H 277.8°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#30307D
RGBrgb(48, 48, 125)
HSLhsl(240, 45%, 34%)
HSVhsv(240, 62%, 49%)
CMYKcmyk(61.6%, 61.6%, 0%, 51%)
CIE-LABlab(24.39, 24.71, -43.85)
CIE-LCHlch(24.39, 50.34, 299.40°)
OKLaboklab(35.82% 0.0174 -0.126)
OKLCHoklch(35.82% 0.127 277.8)
XYZxyz(5.9764, 4.2225, 19.8982)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30307D #7D7D30
analogous
#30577D #30307D #57307D
triadic
#30307D #7D3030 #307D30
tetradic
#30307D #7D3057 #7D7D30 #307D57
square
#30307D #7D3057 #7D7D30 #307D57
split-complementary
#30307D #7D5730 #577D30
monochromatic
#0E0E25 #1F1F51 #30307D #4141A9 #6464C3

Accessibility & contrast

On white

11.38
#30307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#30307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30307D
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30307D#FFFFFF#000000##FFFFFF
##30307D1.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #30307d;
/* rgb */ color: rgb(48, 48, 125);
/* oklch */ color: oklch(35.8% 0.127 277.8);
Tailwind
colors: {
  custom: {
    50: '#7168a3',
    500: '#30307d',
    950: '#000000',
  },
}
SCSS
$custom: #30307d;
$custom-light: #7168a3;
$custom-dark: #000000;
JSON
{
  "hex": "#30307d",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 240,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35823,
    "c": 0.12719,
    "h": 277.8
  },
  "luminance": 0.04223
}

Semantic roles & 50–950 ramp

primary
#30307D
secondary
#ABAB5E
accent
#D454D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #30307D

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

Preview Lab → · Contrast checker → · Palette generator →

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