#303A90#303A90

#303A90 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.141 H 273.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#303A90
RGBrgb(48, 58, 144)
HSLhsl(234, 50%, 38%)
HSVhsv(234, 67%, 56%)
CMYKcmyk(66.7%, 59.7%, 0%, 43.5%)
CIE-LABlab(28.56, 24.89, -48.93)
CIE-LCHlch(28.56, 54.90, 296.96°)
OKLaboklab(39.39% 0.0075 -0.1408)
OKLCHoklch(39.39% 0.141 273.1)
XYZxyz(7.7643, 5.6674, 27.0649)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A90 #908630
analogous
#306A90 #303A90 #563090
triadic
#303A90 #90303A #3A9030
tetradic
#303A90 #90306A #908630 #309056
square
#303A90 #90306A #908630 #309056
split-complementary
#303A90 #905630 #6A9030
monochromatic
#111534 #212862 #303A90 #3F4CBE #6C76CE

Accessibility & contrast

On white

9.84
#303A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#303A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303A90
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A90#FFFFFF#000000##FFFFFF
##303A901.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #303a90;
/* rgb */ color: rgb(48, 58, 144);
/* oklch */ color: oklch(39.4% 0.141 273.1);
Tailwind
colors: {
  custom: {
    50: '#7470b1',
    500: '#303a90',
    950: '#000000',
  },
}
SCSS
$custom: #303a90;
$custom-light: #7470b1;
$custom-dark: #000000;
JSON
{
  "hex": "#303a90",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 144
  },
  "hsl": {
    "h": 233.75,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39391,
    "c": 0.14103,
    "h": 273.1
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#303A90
secondary
#B5AD66
accent
#CB4EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303A90

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

Preview Lab → · Contrast checker → · Palette generator →

#303A90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva