#3034AA#3034AA

#3034AA is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.184 H 273.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#3034AA
RGBrgb(48, 52, 170)
HSLhsl(238, 56%, 43%)
HSVhsv(238, 72%, 67%)
CMYKcmyk(71.8%, 69.4%, 0%, 33.3%)
CIE-LABlab(29.38, 38.07, -63.39)
CIE-LCHlch(29.38, 73.95, 300.99°)
OKLaboklab(40.7% 0.0104 -0.1833)
OKLCHoklch(40.7% 0.184 273.2)
XYZxyz(9.7002, 5.9857, 38.6666)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034AA #AAA630
analogous
#3071AA #3034AA #6930AA
triadic
#3034AA #AA3034 #34AA30
tetradic
#3034AA #AA3071 #AAA630 #30AA69
square
#3034AA #AA3071 #AAA630 #30AA69
split-complementary
#3034AA #AA6930 #71AA30
monochromatic
#15174B #23257A #3034AA #4B4FCC #7B7EDA

Accessibility & contrast

On white

9.56
#3034AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3034AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3034AA#FFFFFF#000000##FFFFFF
##3034AA1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3034aa;
/* rgb */ color: rgb(48, 52, 170);
/* oklch */ color: oklch(40.7% 0.184 273.2);
Tailwind
colors: {
  custom: {
    50: '#7a6cc4',
    500: '#3034aa',
    950: '#000000',
  },
}
SCSS
$custom: #3034aa;
$custom-light: #7a6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3034aa",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 238.033,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40696,
    "c": 0.18357,
    "h": 273.2
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#3034AA
secondary
#C2C074
accent
#DA49DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3034AA

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

Preview Lab → · Contrast checker → · Palette generator →

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