#3134B9#3134B9

#3134B9 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.3% C 0.202 H 272.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#3134B9
RGBrgb(49, 52, 185)
HSLhsl(239, 58%, 46%)
HSVhsv(239, 74%, 73%)
CMYKcmyk(73.5%, 71.9%, 0%, 27.5%)
CIE-LABlab(30.90, 43.31, -69.82)
CIE-LCHlch(30.90, 82.17, 301.81°)
OKLaboklab(42.25% 0.0095 -0.202)
OKLCHoklch(42.25% 0.202 272.7)
XYZxyz(11.2486, 6.6106, 46.5727)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134B9 #B9B631
analogous
#3178B9 #3134B9 #7231B9
triadic
#3134B9 #B93134 #34B931
tetradic
#3134B9 #B93178 #B9B631 #31B972
square
#3134B9 #B93178 #B9B631 #31B972
split-complementary
#3134B9 #B97231 #78B931
monochromatic
#171958 #242689 #3134B9 #5558D2 #8688DF

Accessibility & contrast

On white

9.04
#3134B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3134B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134B9
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134B9#FFFFFF#000000##FFFFFF
##3134B91.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0042B7
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3134b9;
/* rgb */ color: rgb(49, 52, 185);
/* oklch */ color: oklch(42.3% 0.202 272.7);
Tailwind
colors: {
  custom: {
    50: '#7e6dcf',
    500: '#3134b9',
    950: '#000000',
  },
}
SCSS
$custom: #3134b9;
$custom-light: #7e6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3134b9",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 238.676,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42252,
    "c": 0.20223,
    "h": 272.7
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#3134B9
secondary
#C8C77D
accent
#DE46E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3134B9

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

Preview Lab → · Contrast checker → · Palette generator →

#3134B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva