#3034A5#3034A5

#3034A5 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.177 H 273.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#3034A5
RGBrgb(48, 52, 165)
HSLhsl(238, 55%, 42%)
HSVhsv(238, 71%, 65%)
CMYKcmyk(70.9%, 68.5%, 0%, 35.3%)
CIE-LABlab(28.90, 36.33, -61.16)
CIE-LCHlch(28.90, 71.14, 300.71°)
OKLaboklab(40.21% 0.011 -0.1768)
OKLCHoklch(40.21% 0.177 273.6)
XYZxyz(9.2362, 5.8001, 36.2228)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034A5 #A5A130
analogous
#306FA5 #3034A5 #6730A5
triadic
#3034A5 #A53034 #34A530
tetradic
#3034A5 #A5306F #A5A130 #30A567
square
#3034A5 #A5306F #A5A130 #30A567
split-complementary
#3034A5 #A56730 #6FA530
monochromatic
#141646 #222576 #3034A5 #484DCA #787BD8

Accessibility & contrast

On white

9.72
#3034A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3034A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3034A5
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3034A5#FFFFFF#000000##FFFFFF
##3034A51.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3034a5;
/* rgb */ color: rgb(48, 52, 165);
/* oklch */ color: oklch(40.2% 0.177 273.6);
Tailwind
colors: {
  custom: {
    50: '#796cc1',
    500: '#3034a5',
    950: '#000000',
  },
}
SCSS
$custom: #3034a5;
$custom-light: #796cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3034a5",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 237.949,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40209,
    "c": 0.1771,
    "h": 273.6
  },
  "luminance": 0.05801
}

Semantic roles & 50–950 ramp

primary
#3034A5
secondary
#C0BD71
accent
#D94ADE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3034A5

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

Preview Lab → · Contrast checker → · Palette generator →

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