#301FB0#301FB0

#301FB0 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.5% C 0.211 H 275.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#301FB0
RGBrgb(48, 31, 176)
HSLhsl(247, 70%, 41%)
HSVhsv(247, 82%, 69%)
CMYKcmyk(72.7%, 82.4%, 0%, 31%)
CIE-LABlab(25.99, 51.41, -72.59)
CIE-LCHlch(25.99, 88.95, 305.31°)
OKLaboklab(38.49% 0.0193 -0.2099)
OKLCHoklch(38.49% 0.211 275.2)
XYZxyz(9.5428, 4.7420, 41.4783)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301FB0 #9FB01F
analogous
#1F57B0 #301FB0 #781FB0
triadic
#301FB0 #B0301F #1FB030
tetradic
#301FB0 #B01F57 #9FB01F #1FB078
square
#301FB0 #B01F57 #9FB01F #1FB078
split-complementary
#301FB0 #B0781F #57B01F
monochromatic
#140D48 #22167C #301FB0 #4531DB #7465E4

Accessibility & contrast

On white

10.78
#301FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#301FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301FB0
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301FB0#FFFFFF#000000##FFFFFF
##301FB01.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B4
Deuteranopia (green-blind)
#0037AE
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #301fb0;
/* rgb */ color: rgb(48, 31, 176);
/* oklch */ color: oklch(38.5% 0.211 275.2);
Tailwind
colors: {
  custom: {
    50: '#7e60c9',
    500: '#301fb0',
    950: '#000000',
  },
}
SCSS
$custom: #301fb0;
$custom-light: #7e60c9;
$custom-dark: #000000;
JSON
{
  "hex": "#301fb0",
  "rgb": {
    "r": 48,
    "g": 31,
    "b": 176
  },
  "hsl": {
    "h": 247.034,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38489,
    "c": 0.21074,
    "h": 275.2
  },
  "luminance": 0.04743
}

Semantic roles & 50–950 ramp

primary
#301FB0
secondary
#BDC962
accent
#ED3BD8
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #301FB0

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

Preview Lab → · Contrast checker → · Palette generator →

#301FB0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva