#303E90#303E90

#303E90 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.136 H 271.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#303E90
RGBrgb(48, 62, 144)
HSLhsl(231, 50%, 38%)
HSVhsv(231, 67%, 56%)
CMYKcmyk(66.7%, 56.9%, 0%, 43.5%)
CIE-LABlab(29.63, 22.20, -47.19)
CIE-LCHlch(29.63, 52.15, 295.20°)
OKLaboklab(40.19% 0.0038 -0.1357)
OKLCHoklch(40.19% 0.136 271.6)
XYZxyz(7.9739, 6.0865, 27.1348)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303E90 #908230
analogous
#306E90 #303E90 #523090
triadic
#303E90 #90303E #3E9030
tetradic
#303E90 #90306E #908230 #309052
square
#303E90 #90306E #908230 #309052
split-complementary
#303E90 #905230 #6E9030
monochromatic
#111634 #212A62 #303E90 #3F52BE #6C7BCE

Accessibility & contrast

On white

9.47
#303E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#303E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303E90
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303E90#FFFFFF#000000##FFFFFF
##303E901.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #303e90;
/* rgb */ color: rgb(48, 62, 144);
/* oklch */ color: oklch(40.2% 0.136 271.6);
Tailwind
colors: {
  custom: {
    50: '#7473b1',
    500: '#303e90',
    950: '#000000',
  },
}
SCSS
$custom: #303e90;
$custom-light: #7473b1;
$custom-dark: #000000;
JSON
{
  "hex": "#303e90",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 144
  },
  "hsl": {
    "h": 231.25,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40191,
    "c": 0.13572,
    "h": 271.6
  },
  "luminance": 0.06087
}

Semantic roles & 50–950 ramp

primary
#303E90
secondary
#B5AA66
accent
#C54EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #303E90

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

Preview Lab → · Contrast checker → · Palette generator →

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