#302B85#302B85

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

Color values

HEX#302B85
RGBrgb(48, 43, 133)
HSLhsl(243, 51%, 35%)
HSVhsv(243, 68%, 52%)
CMYKcmyk(63.9%, 67.7%, 0%, 47.8%)
CIE-LABlab(23.83, 30.82, -49.80)
CIE-LCHlch(23.83, 58.56, 301.75°)
OKLaboklab(35.63% 0.0215 -0.1435)
OKLCHoklch(35.63% 0.145 278.5)
XYZxyz(6.3151, 4.0491, 22.6345)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B85 #80852B
analogous
#2B5385 #302B85 #5D2B85
triadic
#302B85 #85302B #2B8530
tetradic
#302B85 #852B53 #80852B #2B855D
square
#302B85 #852B53 #80852B #2B855D
split-complementary
#302B85 #855D2B #53852B
monochromatic
#0F0D29 #1F1C57 #302B85 #413AB3 #655FCB

Accessibility & contrast

On white

11.60
#302B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302B85
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B85#FFFFFF#000000##FFFFFF
##302B851.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #302b85;
/* rgb */ color: rgb(48, 43, 133);
/* oklch */ color: oklch(35.6% 0.145 278.5);
Tailwind
colors: {
  custom: {
    50: '#7365a9',
    500: '#302b85',
    950: '#000000',
  },
}
SCSS
$custom: #302b85;
$custom-light: #7365a9;
$custom-dark: #000000;
JSON
{
  "hex": "#302b85",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 243.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35628,
    "c": 0.14511,
    "h": 278.5
  },
  "luminance": 0.0405
}

Semantic roles & 50–950 ramp

primary
#302B85
secondary
#ACB15B
accent
#DB4DD3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #302B85

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

Preview Lab → · Contrast checker → · Palette generator →

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