#302E67#302E67

#302E67 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.097 H 281.4°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#302E67
RGBrgb(48, 46, 103)
HSLhsl(242, 38%, 29%)
HSVhsv(242, 55%, 40%)
CMYKcmyk(53.4%, 55.3%, 0%, 59.6%)
CIE-LABlab(22.16, 18.28, -33.36)
CIE-LCHlch(22.16, 38.04, 298.72°)
OKLaboklab(33.63% 0.0192 -0.0952)
OKLCHoklch(33.63% 0.097 281.4)
XYZxyz(4.6434, 3.5614, 13.2721)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E67 #65672E
analogous
#2E4967 #302E67 #4D2E67
triadic
#302E67 #67302E #2E6730
tetradic
#302E67 #672E49 #65672E #2E674D
square
#302E67 #672E49 #65672E #2E674D
split-complementary
#302E67 #674D2E #49672E
monochromatic
#0A0915 #1C1B3D #302E67 #444191 #5D5AB5

Accessibility & contrast

On white

12.26
#302E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#302E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E67
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E67#FFFFFF#000000##FFFFFF
##302E671.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113769
Deuteranopia (green-blind)
#0B3366
Tritanopia (blue-blind)
#1B3B45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #302e67;
/* rgb */ color: rgb(48, 46, 103);
/* oklch */ color: oklch(33.6% 0.097 281.4);
Tailwind
colors: {
  custom: {
    50: '#6d6693',
    500: '#302e67',
    950: '#000000',
  },
}
SCSS
$custom: #302e67;
$custom-light: #6d6693;
$custom-dark: #000000;
JSON
{
  "hex": "#302e67",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 103
  },
  "hsl": {
    "h": 242.105,
    "s": 38.255,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3363,
    "c": 0.09709,
    "h": 281.4
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#302E67
secondary
#969958
accent
#CE5ACA
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #302E67

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

Preview Lab → · Contrast checker → · Palette generator →

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