#303D7A#303D7A

#303D7A is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.104 H 271.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#303D7A
RGBrgb(48, 61, 122)
HSLhsl(229, 44%, 33%)
HSVhsv(229, 61%, 48%)
CMYKcmyk(60.7%, 50%, 0%, 52.2%)
CIE-LABlab(27.77, 14.77, -36.52)
CIE-LCHlch(27.77, 39.39, 292.02°)
OKLaboklab(38.28% 0.0029 -0.1043)
OKLCHoklch(38.28% 0.104 271.6)
XYZxyz(6.3994, 5.3705, 19.1080)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303D7A #7A6D30
analogous
#30627A #303D7A #48307A
triadic
#303D7A #7A303D #3D7A30
tetradic
#303D7A #7A3062 #7A6D30 #307A48
square
#303D7A #7A3062 #7A6D30 #307A48
split-complementary
#303D7A #7A4830 #627A30
monochromatic
#0D1122 #1F274E #303D7A #4153A6 #6373C2

Accessibility & contrast

On white

10.12
#303D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#303D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303D7A
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303D7A#FFFFFF#000000##FFFFFF
##303D7A1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457C
Deuteranopia (green-blind)
#133E79
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #303d7a;
/* rgb */ color: rgb(48, 61, 122);
/* oklch */ color: oklch(38.3% 0.104 271.6);
Tailwind
colors: {
  custom: {
    50: '#6f72a1',
    500: '#303d7a',
    950: '#000000',
  },
}
SCSS
$custom: #303d7a;
$custom-light: #6f72a1;
$custom-dark: #000000;
JSON
{
  "hex": "#303d7a",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 122
  },
  "hsl": {
    "h": 229.459,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3828,
    "c": 0.10433,
    "h": 271.6
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#303D7A
secondary
#A99B5D
accent
#BD55D3
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #303D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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