#3135BA#3135BA

#3135BA is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.5% C 0.202 H 272.5°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#3135BA
RGBrgb(49, 53, 186)
HSLhsl(238, 58%, 46%)
HSVhsv(238, 74%, 73%)
CMYKcmyk(73.7%, 71.5%, 0%, 27.1%)
CIE-LABlab(31.21, 43.07, -69.90)
CIE-LCHlch(31.21, 82.10, 301.64°)
OKLaboklab(42.51% 0.0088 -0.2023)
OKLCHoklch(42.51% 0.202 272.5)
XYZxyz(11.3997, 6.7432, 47.1456)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135BA #BAB631
analogous
#3179BA #3135BA #7131BA
triadic
#3135BA #BA3135 #35BA31
tetradic
#3135BA #BA3179 #BAB631 #31BA71
square
#3135BA #BA3179 #BAB631 #31BA71
split-complementary
#3135BA #BA7131 #79BA31
monochromatic
#171959 #24278A #3135BA #5659D2 #8689DF

Accessibility & contrast

On white

8.94
#3135BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3135BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3135BA
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3135BA#FFFFFF#000000##FFFFFF
##3135BA1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0043B8
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3135ba;
/* rgb */ color: rgb(49, 53, 186);
/* oklch */ color: oklch(42.5% 0.202 272.5);
Tailwind
colors: {
  custom: {
    50: '#7e6dd0',
    500: '#3135ba',
    950: '#000000',
  },
}
SCSS
$custom: #3135ba;
$custom-light: #7e6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3135ba",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 238.248,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42505,
    "c": 0.20244,
    "h": 272.5
  },
  "luminance": 0.06744
}

Semantic roles & 50–950 ramp

primary
#3135BA
secondary
#C9C77E
accent
#DD46E2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3135BA

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

Preview Lab → · Contrast checker → · Palette generator →

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