#303379#303379

#303379 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.1% C 0.117 H 276.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#303379
RGBrgb(48, 51, 121)
HSLhsl(238, 43%, 33%)
HSVhsv(238, 60%, 47%)
CMYKcmyk(60.3%, 57.9%, 0%, 52.5%)
CIE-LABlab(24.88, 21.25, -40.54)
CIE-LCHlch(24.88, 45.77, 297.66°)
OKLaboklab(36.08% 0.0142 -0.1162)
OKLCHoklch(36.08% 0.117 276.9)
XYZxyz(5.8528, 4.3761, 18.6217)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303379 #797630
analogous
#305779 #303379 #513079
triadic
#303379 #793033 #337930
tetradic
#303379 #793057 #797630 #307951
square
#303379 #793057 #797630 #307951
split-complementary
#303379 #795130 #577930
monochromatic
#0D0E21 #1F214D #303379 #4145A5 #6266C1

Accessibility & contrast

On white

11.20
#303379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#303379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303379
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303379#FFFFFF#000000##FFFFFF
##3033791.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013E7B
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#014350
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #303379;
/* rgb */ color: rgb(48, 51, 121);
/* oklch */ color: oklch(36.1% 0.117 276.9);
Tailwind
colors: {
  custom: {
    50: '#706aa0',
    500: '#303379',
    950: '#000000',
  },
}
SCSS
$custom: #303379;
$custom-light: #706aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#303379",
  "rgb": {
    "r": 48,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 237.534,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36083,
    "c": 0.11708,
    "h": 276.9
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#303379
secondary
#A8A55D
accent
#CE55D3
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #303379

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

Preview Lab → · Contrast checker → · Palette generator →

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