#30599F#30599F

#30599F is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.1% C 0.123 H 260.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#30599F
RGBrgb(48, 89, 159)
HSLhsl(218, 54%, 41%)
HSVhsv(218, 70%, 62%)
CMYKcmyk(69.8%, 44%, 0%, 37.6%)
CIE-LABlab(38.33, 9.82, -42.27)
CIE-LCHlch(38.33, 43.40, 283.08°)
OKLaboklab(47.14% -0.0205 -0.1208)
OKLCHoklch(47.14% 0.123 260.4)
XYZxyz(11.0471, 10.2752, 34.1953)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30599F #9F7630
analogous
#30909F #30599F #3F309F
triadic
#30599F #9F3059 #599F30
tetradic
#30599F #9F3090 #9F7630 #309F3F
square
#30599F #9F3090 #9F7630 #309F3F
split-complementary
#30599F #9F3F30 #909F30
monochromatic
#142441 #223F70 #30599F #4575C7 #7498D5

Accessibility & contrast

On white

6.87
#30599F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#30599F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30599F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30599F#FFFFFF#000000##FFFFFF
##30599F1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3760A2
Deuteranopia (green-blind)
#24559E
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #30599f;
/* rgb */ color: rgb(48, 89, 159);
/* oklch */ color: oklch(47.1% 0.123 260.4);
Tailwind
colors: {
  custom: {
    50: '#7687bc',
    500: '#30599f',
    950: '#000000',
  },
}
SCSS
$custom: #30599f;
$custom-light: #7687bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30599f",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 159
  },
  "hsl": {
    "h": 217.838,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47144,
    "c": 0.12251,
    "h": 260.4
  },
  "luminance": 0.10276
}

Semantic roles & 50–950 ramp

primary
#30599F
secondary
#BDA06E
accent
#A74BDD
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #30599F

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

Preview Lab → · Contrast checker → · Palette generator →

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