#303479#303479

#303479 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.3% C 0.116 H 276.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#303479
RGBrgb(48, 52, 121)
HSLhsl(237, 43%, 33%)
HSVhsv(237, 60%, 47%)
CMYKcmyk(60.3%, 57%, 0%, 52.5%)
CIE-LABlab(25.15, 20.57, -40.09)
CIE-LCHlch(25.15, 45.06, 297.15°)
OKLaboklab(36.29% 0.0131 -0.1149)
OKLCHoklch(36.29% 0.116 276.5)
XYZxyz(5.8970, 4.4644, 18.6364)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303479 #797530
analogous
#305879 #303479 #503079
triadic
#303479 #793034 #347930
tetradic
#303479 #793058 #797530 #307950
square
#303479 #793058 #797530 #307950
split-complementary
#303479 #795030 #587930
monochromatic
#0D0E21 #1F214D #303479 #4147A5 #6268C1

Accessibility & contrast

On white

11.09
#303479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#303479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303479
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303479#FFFFFF#000000##FFFFFF
##3034791.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053F7B
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#014451
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #303479;
/* rgb */ color: rgb(48, 52, 121);
/* oklch */ color: oklch(36.3% 0.116 276.5);
Tailwind
colors: {
  custom: {
    50: '#706ba0',
    500: '#303479',
    950: '#000000',
  },
}
SCSS
$custom: #303479;
$custom-light: #706ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#303479",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 236.712,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36287,
    "c": 0.11566,
    "h": 276.5
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#303479
secondary
#A8A45D
accent
#CC55D3
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #303479

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

Preview Lab → · Contrast checker → · Palette generator →

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