#302F73#302F73

#302F73 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.8% C 0.114 H 279.3°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#302F73
RGBrgb(48, 47, 115)
HSLhsl(241, 42%, 32%)
HSVhsv(241, 59%, 45%)
CMYKcmyk(58.3%, 59.1%, 0%, 54.9%)
CIE-LABlab(23.33, 21.82, -39.21)
CIE-LCHlch(23.33, 44.88, 299.10°)
OKLaboklab(34.79% 0.0185 -0.1124)
OKLCHoklch(34.79% 0.114 279.3)
XYZxyz(5.3290, 3.8989, 16.6881)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F73 #72732F
analogous
#2F5073 #302F73 #522F73
triadic
#302F73 #73302F #2F7330
tetradic
#302F73 #732F50 #72732F #2F7352
square
#302F73 #732F50 #72732F #2F7352
split-complementary
#302F73 #73522F #50732F
monochromatic
#0C0B1C #1E1D48 #302F73 #42419E #605FBE

Accessibility & contrast

On white

11.80
#302F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#302F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302F73
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F73#FFFFFF#000000##FFFFFF
##302F731.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#0E3F4C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #302f73;
/* rgb */ color: rgb(48, 47, 115);
/* oklch */ color: oklch(34.8% 0.114 279.3);
Tailwind
colors: {
  custom: {
    50: '#6f679c',
    500: '#302f73',
    950: '#000000',
  },
}
SCSS
$custom: #302f73;
$custom-light: #6f679c;
$custom-dark: #000000;
JSON
{
  "hex": "#302f73",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 240.882,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34788,
    "c": 0.11388,
    "h": 279.3
  },
  "luminance": 0.03899
}

Semantic roles & 50–950 ramp

primary
#302F73
secondary
#A3A45A
accent
#D256D0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #302F73

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

Preview Lab → · Contrast checker → · Palette generator →

#302F73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva