#302A67#302A67

#302A67 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.103 H 283.6°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#302A67
RGBrgb(48, 42, 103)
HSLhsl(246, 42%, 28%)
HSVhsv(246, 59%, 40%)
CMYKcmyk(53.4%, 59.2%, 0%, 59.6%)
CIE-LABlab(21.07, 21.03, -35.13)
CIE-LCHlch(21.07, 40.94, 300.90°)
OKLaboklab(32.81% 0.0243 -0.1004)
OKLCHoklch(32.81% 0.103 283.6)
XYZxyz(4.4943, 3.2633, 13.2224)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A67 #61672A
analogous
#2A4267 #302A67 #4E2A67
triadic
#302A67 #67302A #2A6730
tetradic
#302A67 #672A42 #61672A #2A674E
square
#302A67 #672A42 #61672A #2A674E
split-complementary
#302A67 #674E2A #42672A
monochromatic
#0A0916 #1C183C #302A67 #443C92 #5D53B9

Accessibility & contrast

On white

12.71
#302A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#302A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302A67
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A67#FFFFFF#000000##FFFFFF
##302A671.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043569
Deuteranopia (green-blind)
#003166
Tritanopia (blue-blind)
#1B3844
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #302a67;
/* rgb */ color: rgb(48, 42, 103);
/* oklch */ color: oklch(32.8% 0.103 283.6);
Tailwind
colors: {
  custom: {
    50: '#6d6393',
    500: '#302a67',
    950: '#000000',
  },
}
SCSS
$custom: #302a67;
$custom-light: #6d6393;
$custom-dark: #000000;
JSON
{
  "hex": "#302a67",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 245.902,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32814,
    "c": 0.10328,
    "h": 283.6
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#302A67
secondary
#929954
accent
#D256C6
background
#F6F5F9
surface
#ECEAF1
border
#C7C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #302A67

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

Preview Lab → · Contrast checker → · Palette generator →

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