#302B60#302B60

#302B60 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.091 H 284.4°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#302B60
RGBrgb(48, 43, 96)
HSLhsl(246, 38%, 27%)
HSVhsv(246, 55%, 38%)
CMYKcmyk(50%, 55.2%, 0%, 62.4%)
CIE-LABlab(20.83, 17.93, -30.93)
CIE-LCHlch(20.83, 35.75, 300.10°)
OKLaboklab(32.47% 0.0226 -0.088)
OKLCHoklch(32.47% 0.091 284.4)
XYZxyz(4.1935, 3.2005, 11.4609)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B60 #5B602B
analogous
#2B4160 #302B60 #4A2B60
triadic
#302B60 #60302B #2B6030
tetradic
#302B60 #602B41 #5B602B #2B604A
square
#302B60 #602B41 #5B602B #2B604A
split-complementary
#302B60 #604A2B #41602B
monochromatic
#0B0915 #1B1836 #302B60 #453E8A #5C53B2

Accessibility & contrast

On white

12.80
#302B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#302B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B60
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B60#FFFFFF#000000##FFFFFF
##302B601.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123462
Deuteranopia (green-blind)
#10305F
Tritanopia (blue-blind)
#203641
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #302b60;
/* rgb */ color: rgb(48, 43, 96);
/* oklch */ color: oklch(32.5% 0.091 284.4);
Tailwind
colors: {
  custom: {
    50: '#6c648d',
    500: '#302b60',
    950: '#000000',
  },
}
SCSS
$custom: #302b60;
$custom-light: #6c648d;
$custom-dark: #000000;
JSON
{
  "hex": "#302b60",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 245.66,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32471,
    "c": 0.0909,
    "h": 284.4
  },
  "luminance": 0.03201
}

Semantic roles & 50–950 ramp

primary
#302B60
secondary
#8C9255
accent
#CE5AC3
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #302B60

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

Preview Lab → · Contrast checker → · Palette generator →

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