#302C74#302C74

#302C74 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.3% C 0.120 H 280.5°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#302C74
RGBrgb(48, 44, 116)
HSLhsl(243, 45%, 31%)
HSVhsv(243, 62%, 45%)
CMYKcmyk(58.6%, 62.1%, 0%, 54.5%)
CIE-LABlab(22.62, 24.21, -41.01)
CIE-LCHlch(22.62, 47.62, 300.55°)
OKLaboklab(34.28% 0.0218 -0.1177)
OKLCHoklch(34.28% 0.12 280.5)
XYZxyz(5.2710, 3.6904, 16.9542)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C74 #70742C
analogous
#2C4C74 #302C74 #542C74
triadic
#302C74 #74302C #2C7430
tetradic
#302C74 #742C4C #70742C #2C7454
square
#302C74 #742C4C #70742C #2C7454
split-complementary
#302C74 #74542C #4C742C
monochromatic
#0B0A1B #1E1B48 #302C74 #423DA0 #605AC0

Accessibility & contrast

On white

12.08
#302C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#302C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C74
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C74#FFFFFF#000000##FFFFFF
##302C741.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#0D3D4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #302c74;
/* rgb */ color: rgb(48, 44, 116);
/* oklch */ color: oklch(34.3% 0.120 280.5);
Tailwind
colors: {
  custom: {
    50: '#6f659d',
    500: '#302c74',
    950: '#000000',
  },
}
SCSS
$custom: #302c74;
$custom-light: #6f659d;
$custom-dark: #000000;
JSON
{
  "hex": "#302c74",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 243.333,
    "s": 45,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34285,
    "c": 0.11969,
    "h": 280.5
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#302C74
secondary
#A1A656
accent
#D553CD
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #302C74

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

Preview Lab → · Contrast checker → · Palette generator →

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