#3135BD#3135BD

#3135BD is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.8% C 0.206 H 272.3°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#3135BD
RGBrgb(49, 53, 189)
HSLhsl(238, 59%, 47%)
HSVhsv(238, 74%, 74%)
CMYKcmyk(74.1%, 72%, 0%, 25.9%)
CIE-LABlab(31.51, 44.08, -71.18)
CIE-LCHlch(31.51, 83.72, 301.77°)
OKLaboklab(42.81% 0.0083 -0.206)
OKLCHoklch(42.81% 0.206 272.3)
XYZxyz(11.7219, 6.8721, 48.8429)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135BD #BDB931
analogous
#317BBD #3135BD #7331BD
triadic
#3135BD #BD3135 #35BD31
tetradic
#3135BD #BD317B #BDB931 #31BD73
square
#3135BD #BD317B #BDB931 #31BD73
split-complementary
#3135BD #BD7331 #7BBD31
monochromatic
#181A5C #24278C #3135BD #585BD4 #888BE0

Accessibility & contrast

On white

8.84
#3135BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3135BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3135BD
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3135BD#FFFFFF#000000##FFFFFF
##3135BD1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0043BB
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3135bd;
/* rgb */ color: rgb(49, 53, 189);
/* oklch */ color: oklch(42.8% 0.206 272.3);
Tailwind
colors: {
  custom: {
    50: '#7f6dd2',
    500: '#3135bd',
    950: '#000000',
  },
}
SCSS
$custom: #3135bd;
$custom-light: #7f6dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3135bd",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 238.286,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42809,
    "c": 0.20614,
    "h": 272.3
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#3135BD
secondary
#CAC880
accent
#DE46E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3135BD

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

Preview Lab → · Contrast checker → · Palette generator →

#3135BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva