#302D63#302D63

#302D63 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.092 H 282.6°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#302D63
RGBrgb(48, 45, 99)
HSLhsl(243, 38%, 28%)
HSVhsv(243, 55%, 39%)
CMYKcmyk(51.5%, 54.5%, 0%, 61.2%)
CIE-LABlab(21.60, 17.58, -31.66)
CIE-LCHlch(21.60, 36.21, 299.04°)
OKLaboklab(33.12% 0.0202 -0.0902)
OKLCHoklch(33.12% 0.092 282.6)
XYZxyz(4.4088, 3.4058, 12.2270)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D63 #60632D
analogous
#2D4563 #302D63 #4B2D63
triadic
#302D63 #63302D #2D6330
tetradic
#302D63 #632D45 #60632D #2D634B
square
#302D63 #632D45 #60632D #2D634B
split-complementary
#302D63 #634B2D #45632D
monochromatic
#0A0A15 #1C1A39 #302D63 #44408D #5D58B3

Accessibility & contrast

On white

12.49
#302D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#302D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302D63
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D63#FFFFFF#000000##FFFFFF
##302D631.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133665
Deuteranopia (green-blind)
#103262
Tritanopia (blue-blind)
#1E3943
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #302d63;
/* rgb */ color: rgb(48, 45, 99);
/* oklch */ color: oklch(33.1% 0.092 282.6);
Tailwind
colors: {
  custom: {
    50: '#6c6690',
    500: '#302d63',
    950: '#000000',
  },
}
SCSS
$custom: #302d63;
$custom-light: #6c6690;
$custom-dark: #000000;
JSON
{
  "hex": "#302d63",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 243.333,
    "s": 37.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33117,
    "c": 0.0924,
    "h": 282.6
  },
  "luminance": 0.03406
}

Semantic roles & 50–950 ramp

primary
#302D63
secondary
#919557
accent
#CD5AC7
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #302D63

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

Preview Lab → · Contrast checker → · Palette generator →

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