#302597#302597

#302597 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.176 H 277.5°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#302597
RGBrgb(48, 37, 151)
HSLhsl(246, 61%, 37%)
HSVhsv(246, 75%, 59%)
CMYKcmyk(68.2%, 75.5%, 0%, 40.8%)
CIE-LABlab(24.27, 40.52, -60.25)
CIE-LCHlch(24.27, 72.61, 303.93°)
OKLaboklab(36.48% 0.0229 -0.174)
OKLCHoklch(36.48% 0.176 277.5)
XYZxyz(7.4646, 4.1852, 29.6866)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302597 #8C9725
analogous
#255397 #302597 #692597
triadic
#302597 #973025 #259730
tetradic
#302597 #972553 #8C9725 #259769
square
#302597 #972553 #8C9725 #259769
split-complementary
#302597 #976925 #539725
monochromatic
#110D35 #201966 #302597 #4031C8 #6A5FD8

Accessibility & contrast

On white

11.43
#302597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#302597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302597
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302597#FFFFFF#000000##FFFFFF
##3025971.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #302597;
/* rgb */ color: rgb(48, 37, 151);
/* oklch */ color: oklch(36.5% 0.176 277.5);
Tailwind
colors: {
  custom: {
    50: '#7762b7',
    500: '#302597',
    950: '#000000',
  },
}
SCSS
$custom: #302597;
$custom-light: #7762b7;
$custom-dark: #000000;
JSON
{
  "hex": "#302597",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 245.789,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36477,
    "c": 0.17554,
    "h": 277.5
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#302597
secondary
#B3BD5B
accent
#E444D4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302597

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

Preview Lab → · Contrast checker → · Palette generator →

#302597 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva