#30468F#30468F

#30468F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.124 H 268.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#30468F
RGBrgb(48, 70, 143)
HSLhsl(226, 50%, 37%)
HSVhsv(226, 66%, 56%)
CMYKcmyk(66.4%, 51%, 0%, 43.9%)
CIE-LABlab(31.79, 16.43, -43.09)
CIE-LCHlch(31.79, 46.12, 290.87°)
OKLaboklab(41.79% -0.0041 -0.1235)
OKLCHoklch(41.79% 0.124 268.1)
XYZxyz(8.3653, 6.9911, 26.8898)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30468F #8F7930
analogous
#30768F #30468F #49308F
triadic
#30468F #8F3046 #468F30
tetradic
#30468F #8F3076 #8F7930 #308F49
square
#30468F #8F3076 #8F7930 #308F49
split-complementary
#30468F #8F4930 #768F30
monochromatic
#111933 #213061 #30468F #3F5CBD #6C82CE

Accessibility & contrast

On white

8.76
#30468F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#30468F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30468F
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30468F#FFFFFF#000000##FFFFFF
##30468F1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F92
Deuteranopia (green-blind)
#03478D
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #30468f;
/* rgb */ color: rgb(48, 70, 143);
/* oklch */ color: oklch(41.8% 0.124 268.1);
Tailwind
colors: {
  custom: {
    50: '#7379b0',
    500: '#30468f',
    950: '#000000',
  },
}
SCSS
$custom: #30468f;
$custom-light: #7379b0;
$custom-dark: #000000;
JSON
{
  "hex": "#30468f",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 143
  },
  "hsl": {
    "h": 226.105,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41794,
    "c": 0.12357,
    "h": 268.1
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#30468F
secondary
#B5A366
accent
#B94FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #30468F

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

Preview Lab → · Contrast checker → · Palette generator →

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