#303370#303370

#303370 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.103 H 277.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#303370
RGBrgb(48, 51, 112)
HSLhsl(237, 40%, 31%)
HSVhsv(237, 57%, 44%)
CMYKcmyk(57.1%, 54.5%, 0%, 56.1%)
CIE-LABlab(24.21, 18.02, -35.88)
CIE-LCHlch(24.21, 40.15, 296.66°)
OKLaboklab(35.37% 0.0137 -0.1025)
OKLCHoklch(35.37% 0.103 277.6)
XYZxyz(5.3265, 4.1655, 15.8494)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303370 #706D30
analogous
#305370 #303370 #4D3070
triadic
#303370 #703033 #337030
tetradic
#303370 #703053 #706D30 #30704D
square
#303370 #703053 #706D30 #30704D
split-complementary
#303370 #704D30 #537030
monochromatic
#0B0C1A #1E1F45 #303370 #42479B #6064BB

Accessibility & contrast

On white

11.46
#303370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#303370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303370
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303370#FFFFFF#000000##FFFFFF
##3033701.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123C72
Deuteranopia (green-blind)
#08376F
Tritanopia (blue-blind)
#11414C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #303370;
/* rgb */ color: rgb(48, 51, 112);
/* oklch */ color: oklch(35.4% 0.103 277.6);
Tailwind
colors: {
  custom: {
    50: '#6e6a99',
    500: '#303370',
    950: '#000000',
  },
}
SCSS
$custom: #303370;
$custom-light: #6e6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#303370",
  "rgb": {
    "r": 48,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 237.188,
    "s": 40,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35372,
    "c": 0.10343,
    "h": 277.6
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#303370
secondary
#A19E5B
accent
#CA58D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #303370

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

Preview Lab → · Contrast checker → · Palette generator →

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