#3033A4#3033A4

#3033A4 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.177 H 273.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#3033A4
RGBrgb(48, 51, 164)
HSLhsl(238, 55%, 42%)
HSVhsv(238, 71%, 64%)
CMYKcmyk(70.7%, 68.9%, 0%, 35.7%)
CIE-LABlab(28.58, 36.60, -61.09)
CIE-LCHlch(28.58, 71.22, 300.93°)
OKLaboklab(39.95% 0.0118 -0.1766)
OKLCHoklch(39.95% 0.177 273.8)
XYZxyz(9.1014, 5.6755, 35.7306)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3033A4 #A4A130
analogous
#306DA4 #3033A4 #6730A4
triadic
#3033A4 #A43033 #33A430
tetradic
#3033A4 #A4306D #A4A130 #30A467
square
#3033A4 #A4306D #A4A130 #30A467
split-complementary
#3033A4 #A46730 #6DA430
monochromatic
#141645 #222475 #3033A4 #484BC9 #777AD7

Accessibility & contrast

On white

9.84
#3033A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3033A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3033A4
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3033A4#FFFFFF#000000##FFFFFF
##3033A41.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3033a4;
/* rgb */ color: rgb(48, 51, 164);
/* oklch */ color: oklch(39.9% 0.177 273.8);
Tailwind
colors: {
  custom: {
    50: '#796bc0',
    500: '#3033a4',
    950: '#000000',
  },
}
SCSS
$custom: #3033a4;
$custom-light: #796bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3033a4",
  "rgb": {
    "r": 48,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 238.448,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39946,
    "c": 0.17694,
    "h": 273.8
  },
  "luminance": 0.05676
}

Semantic roles & 50–950 ramp

primary
#3033A4
secondary
#BFBD70
accent
#DA4ADE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3033A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3033A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva