#302C83#302C83

#302C83 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.141 H 278.5°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#302C83
RGBrgb(48, 44, 131)
HSLhsl(243, 50%, 34%)
HSVhsv(243, 66%, 51%)
CMYKcmyk(63.4%, 66.4%, 0%, 48.6%)
CIE-LABlab(23.89, 29.48, -48.44)
CIE-LCHlch(23.89, 56.71, 301.32°)
OKLaboklab(35.62% 0.0209 -0.1395)
OKLCHoklch(35.62% 0.141 278.5)
XYZxyz(6.2150, 4.0680, 21.9260)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C83 #7F832C
analogous
#2C5483 #302C83 #5C2C83
triadic
#302C83 #83302C #2C8330
tetradic
#302C83 #832C54 #7F832C #2C835C
square
#302C83 #832C54 #7F832C #2C835C
split-complementary
#302C83 #835C2C #54832C
monochromatic
#0E0D27 #1F1D55 #302C83 #413BB1 #6560CA

Accessibility & contrast

On white

11.58
#302C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#302C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C83
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C83#FFFFFF#000000##FFFFFF
##302C831.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #302c83;
/* rgb */ color: rgb(48, 44, 131);
/* oklch */ color: oklch(35.6% 0.141 278.5);
Tailwind
colors: {
  custom: {
    50: '#7265a8',
    500: '#302c83',
    950: '#000000',
  },
}
SCSS
$custom: #302c83;
$custom-light: #7265a8;
$custom-dark: #000000;
JSON
{
  "hex": "#302c83",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 242.759,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35617,
    "c": 0.14107,
    "h": 278.5
  },
  "luminance": 0.04068
}

Semantic roles & 50–950 ramp

primary
#302C83
secondary
#ACB05B
accent
#D94FD3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #302C83

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

Preview Lab → · Contrast checker → · Palette generator →

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