#303288#303288

#303288 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.140 H 276.1°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#303288
RGBrgb(48, 50, 136)
HSLhsl(239, 48%, 36%)
HSVhsv(239, 65%, 53%)
CMYKcmyk(64.7%, 63.2%, 0%, 46.7%)
CIE-LABlab(25.82, 27.32, -48.43)
CIE-LCHlch(25.82, 55.60, 299.43°)
OKLaboklab(37.16% 0.015 -0.1394)
OKLCHoklch(37.16% 0.14 276.1)
XYZxyz(6.8020, 4.6866, 23.8339)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303288 #888630
analogous
#305E88 #303288 #5A3088
triadic
#303288 #883032 #328830
tetradic
#303288 #88305E #888630 #30885A
square
#303288 #88305E #888630 #30885A
split-complementary
#303288 #885A30 #5E8830
monochromatic
#10112E #20215B #303288 #4043B5 #696BCA

Accessibility & contrast

On white

10.84
#303288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#303288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303288
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303288#FFFFFF#000000##FFFFFF
##3032881.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #303288;
/* rgb */ color: rgb(48, 50, 136);
/* oklch */ color: oklch(37.2% 0.140 276.1);
Tailwind
colors: {
  custom: {
    50: '#736aab',
    500: '#303288',
    950: '#000000',
  },
}
SCSS
$custom: #303288;
$custom-light: #736aab;
$custom-dark: #000000;
JSON
{
  "hex": "#303288",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 238.636,
    "s": 47.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37163,
    "c": 0.14024,
    "h": 276.1
  },
  "luminance": 0.04687
}

Semantic roles & 50–950 ramp

primary
#303288
secondary
#B1AF63
accent
#D450D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #303288

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

Preview Lab → · Contrast checker → · Palette generator →

#303288 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva