#3034AB#3034AB

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

Color values

HEX#3034AB
RGBrgb(48, 52, 171)
HSLhsl(238, 56%, 43%)
HSVhsv(238, 72%, 67%)
CMYKcmyk(71.9%, 69.6%, 0%, 32.9%)
CIE-LABlab(29.47, 38.42, -63.84)
CIE-LCHlch(29.47, 74.51, 301.04°)
OKLaboklab(40.79% 0.0103 -0.1846)
OKLCHoklch(40.79% 0.185 273.2)
XYZxyz(9.7951, 6.0237, 39.1667)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034AB #ABA730
analogous
#3071AB #3034AB #6A30AB
triadic
#3034AB #AB3034 #34AB30
tetradic
#3034AB #AB3071 #ABA730 #30AB6A
square
#3034AB #AB3071 #ABA730 #30AB6A
split-complementary
#3034AB #AB6A30 #71AB30
monochromatic
#15174B #23257B #3034AB #4C50CD #7B7EDA

Accessibility & contrast

On white

9.52
#3034AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3034AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3034AB#FFFFFF#000000##FFFFFF
##3034AB1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3034ab;
/* rgb */ color: rgb(48, 52, 171);
/* oklch */ color: oklch(40.8% 0.185 273.2);
Tailwind
colors: {
  custom: {
    50: '#7b6cc5',
    500: '#3034ab',
    950: '#000000',
  },
}
SCSS
$custom: #3034ab;
$custom-light: #7b6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3034ab",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 238.049,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40794,
    "c": 0.18485,
    "h": 273.2
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#3034AB
secondary
#C3C074
accent
#DB48DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3034AB

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

Preview Lab → · Contrast checker → · Palette generator →

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