#303671#303671

#303671 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.101 H 275.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#303671
RGBrgb(48, 54, 113)
HSLhsl(234, 40%, 32%)
HSVhsv(234, 58%, 44%)
CMYKcmyk(57.5%, 52.2%, 0%, 55.7%)
CIE-LABlab(25.13, 16.31, -35.04)
CIE-LCHlch(25.13, 38.64, 294.96°)
OKLaboklab(36.09% 0.0101 -0.1)
OKLCHoklch(36.09% 0.101 275.8)
XYZxyz(5.5178, 4.4586, 16.1894)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303671 #716B30
analogous
#305771 #303671 #4B3071
triadic
#303671 #713036 #367130
tetradic
#303671 #713057 #716B30 #30714B
square
#303671 #713057 #716B30 #30714B
split-complementary
#303671 #714B30 #577130
monochromatic
#0C0D1B #1E2146 #303671 #424B9C #6068BB

Accessibility & contrast

On white

11.10
#303671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303671
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303671#FFFFFF#000000##FFFFFF
##3036711.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E73
Deuteranopia (green-blind)
#0F3970
Tritanopia (blue-blind)
#0F434E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #303671;
/* rgb */ color: rgb(48, 54, 113);
/* oklch */ color: oklch(36.1% 0.101 275.8);
Tailwind
colors: {
  custom: {
    50: '#6e6c9a',
    500: '#303671',
    950: '#000000',
  },
}
SCSS
$custom: #303671;
$custom-light: #6e6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#303671",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 113
  },
  "hsl": {
    "h": 234.462,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36088,
    "c": 0.10052,
    "h": 275.8
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#303671
secondary
#A29C5B
accent
#C558D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #303671

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

Preview Lab → · Contrast checker → · Palette generator →

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