#3034B8#3034B8

#3034B8 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.1% C 0.201 H 272.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#3034B8
RGBrgb(48, 52, 184)
HSLhsl(238, 59%, 45%)
HSVhsv(238, 74%, 72%)
CMYKcmyk(73.9%, 71.7%, 0%, 27.8%)
CIE-LABlab(30.75, 42.88, -69.49)
CIE-LCHlch(30.75, 81.66, 301.68°)
OKLaboklab(42.09% 0.0085 -0.2011)
OKLCHoklch(42.09% 0.201 272.4)
XYZxyz(11.0957, 6.5439, 46.0164)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034B8 #B8B430
analogous
#3078B8 #3034B8 #7030B8
triadic
#3034B8 #B83034 #34B830
tetradic
#3034B8 #B83078 #B8B430 #30B870
square
#3034B8 #B83078 #B8B430 #30B870
split-complementary
#3034B8 #B87030 #78B830
monochromatic
#171957 #232687 #3034B8 #5357D2 #8486DF

Accessibility & contrast

On white

9.09
#3034B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3034B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3034B8#FFFFFF#000000##FFFFFF
##3034B81.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3034b8;
/* rgb */ color: rgb(48, 52, 184);
/* oklch */ color: oklch(42.1% 0.201 272.4);
Tailwind
colors: {
  custom: {
    50: '#7e6dcf',
    500: '#3034b8',
    950: '#000000',
  },
}
SCSS
$custom: #3034b8;
$custom-light: #7e6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3034b8",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 238.235,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42093,
    "c": 0.20126,
    "h": 272.4
  },
  "luminance": 0.06545
}

Semantic roles & 50–950 ramp

primary
#3034B8
secondary
#C8C67C
accent
#DD46E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3034B8

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

Preview Lab → · Contrast checker → · Palette generator →

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