#303673#303673

#303673 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.2% C 0.104 H 275.7°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#303673
RGBrgb(48, 54, 115)
HSLhsl(235, 41%, 32%)
HSVhsv(235, 58%, 45%)
CMYKcmyk(58.3%, 53%, 0%, 54.9%)
CIE-LABlab(25.27, 17.03, -36.09)
CIE-LCHlch(25.27, 39.90, 295.26°)
OKLaboklab(36.24% 0.0103 -0.1031)
OKLCHoklch(36.24% 0.104 275.7)
XYZxyz(5.6316, 4.5041, 16.7890)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303673 #736D30
analogous
#305873 #303673 #4C3073
triadic
#303673 #733036 #367330
tetradic
#303673 #733058 #736D30 #30734C
square
#303673 #733058 #736D30 #30734C
split-complementary
#303673 #734C30 #587330
monochromatic
#0C0D1D #1E2248 #303673 #424A9E #6169BD

Accessibility & contrast

On white

11.05
#303673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#303673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303673
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303673#FFFFFF#000000##FFFFFF
##3036731.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F75
Deuteranopia (green-blind)
#0C3972
Tritanopia (blue-blind)
#0C444F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #303673;
/* rgb */ color: rgb(48, 54, 115);
/* oklch */ color: oklch(36.2% 0.104 275.7);
Tailwind
colors: {
  custom: {
    50: '#6f6c9c',
    500: '#303673',
    950: '#000000',
  },
}
SCSS
$custom: #303673;
$custom-light: #6f6c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#303673",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 115
  },
  "hsl": {
    "h": 234.627,
    "s": 41.104,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36238,
    "c": 0.10362,
    "h": 275.7
  },
  "luminance": 0.04505
}

Semantic roles & 50–950 ramp

primary
#303673
secondary
#A49D5B
accent
#C657D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #303673

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

Preview Lab → · Contrast checker → · Palette generator →

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