#302B4E#302B4E

#302B4E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.062 H 288.9°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#302B4E
RGBrgb(48, 43, 78)
HSLhsl(249, 29%, 24%)
HSVhsv(249, 45%, 31%)
CMYKcmyk(38.5%, 44.9%, 0%, 69.4%)
CIE-LABlab(19.66, 11.95, -20.80)
CIE-LCHlch(19.66, 23.99, 299.87°)
OKLaboklab(31.21% 0.0199 -0.0584)
OKLCHoklch(31.21% 0.062 288.9)
XYZxyz(3.4576, 2.9061, 7.5850)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B4E #494E2B
analogous
#2B374E #302B4E #412B4E
triadic
#302B4E #4E302B #2B4E30
tetradic
#302B4E #4E2B37 #494E2B #2B4E41
square
#302B4E #4E2B37 #494E2B #2B4E41
split-complementary
#302B4E #4E412B #374E2B
monochromatic
#0C0B14 #181527 #302B4E #484175 #61569D

Accessibility & contrast

On white

13.28
#302B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#302B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B4E
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B4E#FFFFFF#000000##FFFFFF
##302B4E1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304F
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#283238
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #302b4e;
/* rgb */ color: rgb(48, 43, 78);
/* oklch */ color: oklch(31.2% 0.062 288.9);
Tailwind
colors: {
  custom: {
    50: '#6a6480',
    500: '#302b4e',
    950: '#000000',
  },
}
SCSS
$custom: #302b4e;
$custom-light: #6a6480;
$custom-dark: #000000;
JSON
{
  "hex": "#302b4e",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 248.571,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31214,
    "c": 0.06171,
    "h": 288.9
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#302B4E
secondary
#7A8055
accent
#C563B7
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #302B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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