#302F4E#302F4E

#302F4E is a dark, muted blue. Relative luminance 0.032; OKLCH L 32.1% C 0.055 H 284.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#302F4E
RGBrgb(48, 47, 78)
HSLhsl(242, 25%, 25%)
HSVhsv(242, 40%, 31%)
CMYKcmyk(38.5%, 39.7%, 0%, 69.4%)
CIE-LABlab(20.87, 9.15, -18.91)
CIE-LCHlch(20.87, 21.00, 295.82°)
OKLaboklab(32.14% 0.0135 -0.0529)
OKLCHoklch(32.14% 0.055 284.4)
XYZxyz(3.6102, 3.2114, 7.6359)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F4E #4D4E2F
analogous
#2F3E4E #302F4E #402F4E
triadic
#302F4E #4E302F #2F4E30
tetradic
#302F4E #4E2F3E #4D4E2F #2F4E40
square
#302F4E #4E2F3E #4D4E2F #2F4E40
split-complementary
#302F4E #4E402F #3E4E2F
monochromatic
#0C0C13 #181828 #302F4E #484674 #5F5D9A

Accessibility & contrast

On white

12.79
#302F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302F4E
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F4E#FFFFFF#000000##FFFFFF
##302F4E1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25334F
Deuteranopia (green-blind)
#24314D
Tritanopia (blue-blind)
#28353A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #302f4e;
/* rgb */ color: rgb(48, 47, 78);
/* oklch */ color: oklch(32.1% 0.055 284.4);
Tailwind
colors: {
  custom: {
    50: '#69677f',
    500: '#302f4e',
    950: '#000000',
  },
}
SCSS
$custom: #302f4e;
$custom-light: #69677f;
$custom-dark: #000000;
JSON
{
  "hex": "#302f4e",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 241.935,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32136,
    "c": 0.05459,
    "h": 284.4
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#302F4E
secondary
#7E7F5A
accent
#C167BE
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #302F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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