#303C83#303C83

#303C83 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.7% C 0.119 H 272.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#303C83
RGBrgb(48, 60, 131)
HSLhsl(231, 46%, 35%)
HSVhsv(231, 63%, 51%)
CMYKcmyk(63.4%, 54.2%, 0%, 48.6%)
CIE-LABlab(28.11, 18.76, -41.60)
CIE-LCHlch(28.11, 45.63, 294.27°)
OKLaboklab(38.74% 0.005 -0.1192)
OKLCHoklch(38.74% 0.119 272.4)
XYZxyz(6.9302, 5.4982, 22.1644)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303C83 #837730
analogous
#306683 #303C83 #4D3083
triadic
#303C83 #83303C #3C8330
tetradic
#303C83 #833066 #837730 #30834D
square
#303C83 #833066 #837730 #30834D
split-complementary
#303C83 #834D30 #668330
monochromatic
#0F1329 #202756 #303C83 #4051B0 #6674C7

Accessibility & contrast

On white

10.00
#303C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#303C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303C83
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303C83#FFFFFF#000000##FFFFFF
##303C831.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114686
Deuteranopia (green-blind)
#003F82
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #303c83;
/* rgb */ color: rgb(48, 60, 131);
/* oklch */ color: oklch(38.7% 0.119 272.4);
Tailwind
colors: {
  custom: {
    50: '#7171a8',
    500: '#303c83',
    950: '#000000',
  },
}
SCSS
$custom: #303c83;
$custom-light: #7171a8;
$custom-dark: #000000;
JSON
{
  "hex": "#303c83",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 131
  },
  "hsl": {
    "h": 231.325,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38742,
    "c": 0.11936,
    "h": 272.4
  },
  "luminance": 0.05499
}

Semantic roles & 50–950 ramp

primary
#303C83
secondary
#AEA361
accent
#C352D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #303C83

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

Preview Lab → · Contrast checker → · Palette generator →

#303C83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva