#303B79#303B79

#303B79 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.8% C 0.106 H 272.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#303B79
RGBrgb(48, 59, 121)
HSLhsl(231, 43%, 33%)
HSVhsv(231, 60%, 47%)
CMYKcmyk(60.3%, 51.2%, 0%, 52.5%)
CIE-LABlab(27.12, 15.77, -36.92)
CIE-LCHlch(27.12, 40.15, 293.13°)
OKLaboklab(37.77% 0.0051 -0.1055)
OKLCHoklch(37.77% 0.106 272.8)
XYZxyz(6.2329, 5.1363, 18.7484)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B79 #796E30
analogous
#305F79 #303B79 #493079
triadic
#303B79 #79303B #3B7930
tetradic
#303B79 #79305F #796E30 #307949
square
#303B79 #79305F #796E30 #307949
split-complementary
#303B79 #794930 #5F7930
monochromatic
#0D1021 #1F264D #303B79 #4150A5 #6271C1

Accessibility & contrast

On white

10.36
#303B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#303B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303B79
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303B79#FFFFFF#000000##FFFFFF
##303B791.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C437B
Deuteranopia (green-blind)
#0F3D78
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #303b79;
/* rgb */ color: rgb(48, 59, 121);
/* oklch */ color: oklch(37.8% 0.106 272.8);
Tailwind
colors: {
  custom: {
    50: '#6f70a0',
    500: '#303b79',
    950: '#000000',
  },
}
SCSS
$custom: #303b79;
$custom-light: #6f70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#303b79",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 230.959,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37768,
    "c": 0.10562,
    "h": 272.8
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#303B79
secondary
#A89D5D
accent
#C055D3
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #303B79

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

Preview Lab → · Contrast checker → · Palette generator →

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