#3034B3#3034B3

#3034B3 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.6% C 0.195 H 272.7°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#3034B3
RGBrgb(48, 52, 179)
HSLhsl(238, 58%, 45%)
HSVhsv(238, 73%, 70%)
CMYKcmyk(73.2%, 70.9%, 0%, 29.8%)
CIE-LABlab(30.25, 41.18, -67.34)
CIE-LCHlch(30.25, 78.93, 301.44°)
OKLaboklab(41.59% 0.0092 -0.1948)
OKLCHoklch(41.59% 0.195 272.7)
XYZxyz(10.5809, 6.3380, 43.3048)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034B3 #B3AF30
analogous
#3076B3 #3034B3 #6E30B3
triadic
#3034B3 #B33034 #34B330
tetradic
#3034B3 #B33076 #B3AF30 #30B36E
square
#3034B3 #B33076 #B3AF30 #30B36E
split-complementary
#3034B3 #B36E30 #76B330
monochromatic
#161852 #232683 #3034B3 #5054D0 #8083DD

Accessibility & contrast

On white

9.26
#3034B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3034B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3034B3#FFFFFF#000000##FFFFFF
##3034B31.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3034b3;
/* rgb */ color: rgb(48, 52, 179);
/* oklch */ color: oklch(41.6% 0.195 272.7);
Tailwind
colors: {
  custom: {
    50: '#7c6ccb',
    500: '#3034b3',
    950: '#000000',
  },
}
SCSS
$custom: #3034b3;
$custom-light: #7c6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#3034b3",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 238.168,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41589,
    "c": 0.19502,
    "h": 272.7
  },
  "luminance": 0.06339
}

Semantic roles & 50–950 ramp

primary
#3034B3
secondary
#C6C479
accent
#DC47E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3034B3

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

Preview Lab → · Contrast checker → · Palette generator →

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