#3033A5#3033A5

#3033A5 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.178 H 273.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#3033A5
RGBrgb(48, 51, 165)
HSLhsl(238, 55%, 42%)
HSVhsv(238, 71%, 65%)
CMYKcmyk(70.9%, 69.1%, 0%, 35.3%)
CIE-LABlab(28.67, 36.95, -61.54)
CIE-LCHlch(28.67, 71.78, 300.98°)
OKLaboklab(40.04% 0.0116 -0.1779)
OKLCHoklch(40.04% 0.178 273.7)
XYZxyz(9.1920, 5.7118, 36.2081)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3033A5 #A5A230
analogous
#306DA5 #3033A5 #6830A5
triadic
#3033A5 #A53033 #33A530
tetradic
#3033A5 #A5306D #A5A230 #30A568
square
#3033A5 #A5306D #A5A230 #30A568
split-complementary
#3033A5 #A56830 #6DA530
monochromatic
#141646 #222476 #3033A5 #484CCA #787AD8

Accessibility & contrast

On white

9.80
#3033A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3033A5
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3033A5#FFFFFF#000000##FFFFFF
##3033A51.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3033a5;
/* rgb */ color: rgb(48, 51, 165);
/* oklch */ color: oklch(40.0% 0.178 273.7);
Tailwind
colors: {
  custom: {
    50: '#796bc1',
    500: '#3033a5',
    950: '#000000',
  },
}
SCSS
$custom: #3033a5;
$custom-light: #796bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3033a5",
  "rgb": {
    "r": 48,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 238.462,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40044,
    "c": 0.17824,
    "h": 273.7
  },
  "luminance": 0.05713
}

Semantic roles & 50–950 ramp

primary
#3033A5
secondary
#C0BE71
accent
#DA4ADE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3033A5

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

Preview Lab → · Contrast checker → · Palette generator →

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