#3033A2#3033A2

#3033A2 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.174 H 273.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#3033A2
RGBrgb(48, 51, 162)
HSLhsl(238, 54%, 41%)
HSVhsv(238, 70%, 64%)
CMYKcmyk(70.4%, 68.5%, 0%, 36.5%)
CIE-LABlab(28.39, 35.90, -60.19)
CIE-LCHlch(28.39, 70.08, 300.81°)
OKLaboklab(39.75% 0.012 -0.1739)
OKLCHoklch(39.75% 0.174 273.9)
XYZxyz(8.9222, 5.6038, 34.7869)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3033A2 #A29F30
analogous
#306CA2 #3033A2 #6630A2
triadic
#3033A2 #A23033 #33A230
tetradic
#3033A2 #A2306C #A29F30 #30A266
square
#3033A2 #A2306C #A29F30 #30A266
split-complementary
#3033A2 #A26630 #6CA230
monochromatic
#141544 #222473 #3033A2 #474AC8 #7679D6

Accessibility & contrast

On white

9.90
#3033A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3033A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3033A2
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3033A2#FFFFFF#000000##FFFFFF
##3033A21.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3033a2;
/* rgb */ color: rgb(48, 51, 162);
/* oklch */ color: oklch(39.8% 0.174 273.9);
Tailwind
colors: {
  custom: {
    50: '#796bbf',
    500: '#3033a2',
    950: '#000000',
  },
}
SCSS
$custom: #3033a2;
$custom-light: #796bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3033a2",
  "rgb": {
    "r": 48,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 238.421,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39753,
    "c": 0.17432,
    "h": 273.9
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#3033A2
secondary
#BEBC6F
accent
#DA4ADE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3033A2

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

Preview Lab → · Contrast checker → · Palette generator →

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