#3031A3#3031A3

#3031A3 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.178 H 274.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#3031A3
RGBrgb(48, 49, 163)
HSLhsl(239, 55%, 41%)
HSVhsv(239, 71%, 64%)
CMYKcmyk(70.6%, 69.9%, 0%, 36.1%)
CIE-LABlab(28.03, 37.49, -61.39)
CIE-LCHlch(28.03, 71.93, 301.41°)
OKLaboklab(39.52% 0.0132 -0.1774)
OKLCHoklch(39.52% 0.178 274.3)
XYZxyz(8.9259, 5.4685, 35.2284)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3031A3 #A3A230
analogous
#306BA3 #3031A3 #6930A3
triadic
#3031A3 #A33031 #31A330
tetradic
#3031A3 #A3306B #A3A230 #30A369
square
#3031A3 #A3306B #A3A230 #30A369
split-complementary
#3031A3 #A36930 #6BA330
monochromatic
#141544 #222374 #3031A3 #4748C9 #7777D7

Accessibility & contrast

On white

10.03
#3031A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3031A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3031A3
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3031A3#FFFFFF#000000##FFFFFF
##3031A31.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3031a3;
/* rgb */ color: rgb(48, 49, 163);
/* oklch */ color: oklch(39.5% 0.178 274.3);
Tailwind
colors: {
  custom: {
    50: '#796abf',
    500: '#3031a3',
    950: '#000000',
  },
}
SCSS
$custom: #3031a3;
$custom-light: #796abf;
$custom-dark: #000000;
JSON
{
  "hex": "#3031a3",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 239.478,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39521,
    "c": 0.1779,
    "h": 274.3
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#3031A3
secondary
#BFBE70
accent
#DD4ADE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #3031A3

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

Preview Lab → · Contrast checker → · Palette generator →

#3031A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva