#302D4E#302D4E

#302D4E is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.7% C 0.058 H 286.7°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#302D4E
RGBrgb(48, 45, 78)
HSLhsl(245, 27%, 24%)
HSVhsv(245, 42%, 31%)
CMYKcmyk(38.5%, 42.3%, 0%, 69.4%)
CIE-LABlab(20.26, 10.55, -19.86)
CIE-LCHlch(20.26, 22.49, 297.97°)
OKLaboklab(31.67% 0.0167 -0.0556)
OKLCHoklch(31.67% 0.058 286.7)
XYZxyz(3.5321, 3.0551, 7.6098)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D4E #4B4E2D
analogous
#2D3B4E #302D4E #412D4E
triadic
#302D4E #4E302D #2D4E30
tetradic
#302D4E #4E2D3B #4B4E2D #2D4E41
square
#302D4E #4E2D3B #4B4E2D #2D4E41
split-complementary
#302D4E #4E412D #3B4E2D
monochromatic
#0C0B13 #181727 #302D4E #484375 #605A9C

Accessibility & contrast

On white

13.04
#302D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#302D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302D4E
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D4E#FFFFFF#000000##FFFFFF
##302D4E1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23324F
Deuteranopia (green-blind)
#22304D
Tritanopia (blue-blind)
#283339
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #302d4e;
/* rgb */ color: rgb(48, 45, 78);
/* oklch */ color: oklch(31.7% 0.058 286.7);
Tailwind
colors: {
  custom: {
    50: '#6a657f',
    500: '#302d4e',
    950: '#000000',
  },
}
SCSS
$custom: #302d4e;
$custom-light: #6a657f;
$custom-dark: #000000;
JSON
{
  "hex": "#302d4e",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 245.455,
    "s": 26.829,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31671,
    "c": 0.05811,
    "h": 286.7
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#302D4E
secondary
#7C8057
accent
#C365BB
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #302D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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