#303A79#303A79

#303A79 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.6% C 0.107 H 273.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#303A79
RGBrgb(48, 58, 121)
HSLhsl(232, 43%, 33%)
HSVhsv(232, 60%, 47%)
CMYKcmyk(60.3%, 52.1%, 0%, 52.5%)
CIE-LABlab(26.83, 16.45, -37.38)
CIE-LCHlch(26.83, 40.84, 293.76°)
OKLaboklab(37.55% 0.0063 -0.1069)
OKLCHoklch(37.55% 0.107 273.4)
XYZxyz(6.1820, 5.0345, 18.7314)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A79 #796F30
analogous
#305E79 #303A79 #4A3079
triadic
#303A79 #79303A #3A7930
tetradic
#303A79 #79305E #796F30 #30794A
square
#303A79 #79305E #796F30 #30794A
split-complementary
#303A79 #794A30 #5E7930
monochromatic
#0D1021 #1F254D #303A79 #414FA5 #626FC1

Accessibility & contrast

On white

10.46
#303A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#303A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303A79
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A79#FFFFFF#000000##FFFFFF
##303A791.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437B
Deuteranopia (green-blind)
#0C3C78
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #303a79;
/* rgb */ color: rgb(48, 58, 121);
/* oklch */ color: oklch(37.6% 0.107 273.4);
Tailwind
colors: {
  custom: {
    50: '#6f6fa0',
    500: '#303a79',
    950: '#000000',
  },
}
SCSS
$custom: #303a79;
$custom-light: #6f6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#303a79",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 121
  },
  "hsl": {
    "h": 231.781,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37551,
    "c": 0.10705,
    "h": 273.4
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#303A79
secondary
#A89E5D
accent
#C255D3
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #303A79

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

Preview Lab → · Contrast checker → · Palette generator →

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