#302B68#302B68

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

Color values

HEX#302B68
RGBrgb(48, 43, 104)
HSLhsl(245, 41%, 29%)
HSVhsv(245, 59%, 41%)
CMYKcmyk(53.8%, 58.7%, 0%, 59.2%)
CIE-LABlab(21.41, 20.69, -35.22)
CIE-LCHlch(21.41, 40.85, 300.43°)
OKLaboklab(33.09% 0.023 -0.1007)
OKLCHoklch(33.09% 0.103 282.9)
XYZxyz(4.5807, 3.3554, 13.5003)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B68 #63682B
analogous
#2B4568 #302B68 #4F2B68
triadic
#302B68 #68302B #2B6830
tetradic
#302B68 #682B45 #63682B #2B684F
square
#302B68 #682B45 #63682B #2B684F
split-complementary
#302B68 #684F2B #45682B
monochromatic
#0A0916 #1C193D #302B68 #443D93 #5D55B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##302B68#FFFFFF#000000##FFFFFF
##302B681.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)
#05356A
Deuteranopia (green-blind)
#003167
Tritanopia (blue-blind)
#1A3945
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #302b68;
/* rgb */ color: rgb(48, 43, 104);
/* oklch */ color: oklch(33.1% 0.103 282.9);
Tailwind
colors: {
  custom: {
    50: '#6d6494',
    500: '#302b68',
    950: '#000000',
  },
}
SCSS
$custom: #302b68;
$custom-light: #6d6494;
$custom-dark: #000000;
JSON
{
  "hex": "#302b68",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 244.918,
    "s": 41.497,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33094,
    "c": 0.10326,
    "h": 282.9
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#302B68
secondary
#949A55
accent
#D156C7
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #302B68

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

Preview Lab → · Contrast checker → · Palette generator →

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