#303A88#303A88

#303A88 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.129 H 273.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#303A88
RGBrgb(48, 58, 136)
HSLhsl(233, 48%, 36%)
HSVhsv(233, 65%, 53%)
CMYKcmyk(64.7%, 57.4%, 0%, 46.7%)
CIE-LABlab(27.93, 21.95, -45.00)
CIE-LCHlch(27.93, 50.07, 296.01°)
OKLaboklab(38.73% 0.0074 -0.1293)
OKLCHoklch(38.73% 0.129 273.3)
XYZxyz(7.1744, 5.4315, 23.9581)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A88 #887E30
analogous
#306688 #303A88 #523088
triadic
#303A88 #88303A #3A8830
tetradic
#303A88 #883066 #887E30 #308852
square
#303A88 #883066 #887E30 #308852
split-complementary
#303A88 #885230 #668830
monochromatic
#10132E #20275B #303A88 #404DB5 #6974CA

Accessibility & contrast

On white

10.07
#303A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#303A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303A88
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A88#FFFFFF#000000##FFFFFF
##303A881.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #303a88;
/* rgb */ color: rgb(48, 58, 136);
/* oklch */ color: oklch(38.7% 0.129 273.3);
Tailwind
colors: {
  custom: {
    50: '#7270ab',
    500: '#303a88',
    950: '#000000',
  },
}
SCSS
$custom: #303a88;
$custom-light: #7270ab;
$custom-dark: #000000;
JSON
{
  "hex": "#303a88",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 233.182,
    "s": 47.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38726,
    "c": 0.12949,
    "h": 273.3
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#303A88
secondary
#B1A863
accent
#C850D7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #303A88

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

Preview Lab → · Contrast checker → · Palette generator →

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