#3034AF#3034AF

#3034AF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.190 H 272.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#3034AF
RGBrgb(48, 52, 175)
HSLhsl(238, 57%, 44%)
HSVhsv(238, 73%, 69%)
CMYKcmyk(72.6%, 70.3%, 0%, 31.4%)
CIE-LABlab(29.86, 39.80, -65.60)
CIE-LCHlch(29.86, 76.73, 301.25°)
OKLaboklab(41.19% 0.0097 -0.1897)
OKLCHoklch(41.19% 0.19 272.9)
XYZxyz(10.1822, 6.1785, 41.2051)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034AF #AFAB30
analogous
#3073AF #3034AF #6B30AF
triadic
#3034AF #AF3034 #34AF30
tetradic
#3034AF #AF3073 #AFAB30 #30AF6B
square
#3034AF #AF3073 #AFAB30 #30AF6B
split-complementary
#3034AF #AF6B30 #73AF30
monochromatic
#16174F #23267F #3034AF #4E52CE #7E81DC

Accessibility & contrast

On white

9.39
#3034AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3034AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3034AF#FFFFFF#000000##FFFFFF
##3034AF1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3034af;
/* rgb */ color: rgb(48, 52, 175);
/* oklch */ color: oklch(41.2% 0.190 272.9);
Tailwind
colors: {
  custom: {
    50: '#7b6cc8',
    500: '#3034af',
    950: '#000000',
  },
}
SCSS
$custom: #3034af;
$custom-light: #7b6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3034af",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 238.11,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4119,
    "c": 0.18996,
    "h": 272.9
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#3034AF
secondary
#C4C276
accent
#DB48E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3034AF

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

Preview Lab → · Contrast checker → · Palette generator →

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