#303B72#303B72

#303B72 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.095 H 272.5°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#303B72
RGBrgb(48, 59, 114)
HSLhsl(230, 41%, 32%)
HSVhsv(230, 58%, 45%)
CMYKcmyk(57.9%, 48.2%, 0%, 55.3%)
CIE-LABlab(26.65, 13.22, -33.24)
CIE-LCHlch(26.65, 35.77, 291.69°)
OKLaboklab(37.26% 0.0042 -0.0947)
OKLCHoklch(37.26% 0.095 272.5)
XYZxyz(5.8192, 4.9708, 16.5691)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B72 #726730
analogous
#305C72 #303B72 #463072
triadic
#303B72 #72303B #3B7230
tetradic
#303B72 #72305C #726730 #307246
square
#303B72 #72305C #726730 #307246
split-complementary
#303B72 #724630 #5C7230
monochromatic
#0C0E1C #1E2547 #303B72 #42519D #6070BC

Accessibility & contrast

On white

10.53
#303B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#303B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303B72
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303B72#FFFFFF#000000##FFFFFF
##303B721.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224274
Deuteranopia (green-blind)
#1A3C71
Tritanopia (blue-blind)
#0C4751
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #303b72;
/* rgb */ color: rgb(48, 59, 114);
/* oklch */ color: oklch(37.3% 0.095 272.5);
Tailwind
colors: {
  custom: {
    50: '#6e709b',
    500: '#303b72',
    950: '#000000',
  },
}
SCSS
$custom: #303b72;
$custom-light: #6e709b;
$custom-dark: #000000;
JSON
{
  "hex": "#303b72",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 114
  },
  "hsl": {
    "h": 230,
    "s": 40.741,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37261,
    "c": 0.09477,
    "h": 272.5
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#303B72
secondary
#A3975B
accent
#BC57D1
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #303B72

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

Preview Lab → · Contrast checker → · Palette generator →

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