#302D60#302D60

#302D60 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.088 H 283.1°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#302D60
RGBrgb(48, 45, 96)
HSLhsl(244, 36%, 28%)
HSVhsv(244, 53%, 38%)
CMYKcmyk(50%, 53.1%, 0%, 62.4%)
CIE-LABlab(21.39, 16.54, -30.03)
CIE-LCHlch(21.39, 34.29, 298.85°)
OKLaboklab(32.89% 0.0199 -0.0854)
OKLCHoklch(32.89% 0.088 283.1)
XYZxyz(4.2680, 3.3495, 11.4857)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D60 #5D602D
analogous
#2D4460 #302D60 #492D60
triadic
#302D60 #60302D #2D6030
tetradic
#302D60 #602D44 #5D602D #2D6049
square
#302D60 #602D44 #5D602D #2D6049
split-complementary
#302D60 #60492D #44602D
monochromatic
#0A0A15 #1B1936 #302D60 #45418A #5C57B0

Accessibility & contrast

On white

12.57
#302D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#302D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302D60
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D60#FFFFFF#000000##FFFFFF
##302D601.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163562
Deuteranopia (green-blind)
#14325F
Tritanopia (blue-blind)
#203842
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #302d60;
/* rgb */ color: rgb(48, 45, 96);
/* oklch */ color: oklch(32.9% 0.088 283.1);
Tailwind
colors: {
  custom: {
    50: '#6c668d',
    500: '#302d60',
    950: '#000000',
  },
}
SCSS
$custom: #302d60;
$custom-light: #6c668d;
$custom-dark: #000000;
JSON
{
  "hex": "#302d60",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 243.529,
    "s": 36.17,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32893,
    "c": 0.08767,
    "h": 283.1
  },
  "luminance": 0.0335
}

Semantic roles & 50–950 ramp

primary
#302D60
secondary
#8E9257
accent
#CC5CC6
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #302D60

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

Preview Lab → · Contrast checker → · Palette generator →

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