#3135BF#3135BF

#3135BF is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.0% C 0.209 H 272.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#3135BF
RGBrgb(49, 53, 191)
HSLhsl(238, 59%, 47%)
HSVhsv(238, 74%, 75%)
CMYKcmyk(74.3%, 72.3%, 0%, 25.1%)
CIE-LABlab(31.71, 44.75, -72.03)
CIE-LCHlch(31.71, 84.80, 301.85°)
OKLaboklab(43.01% 0.008 -0.2084)
OKLCHoklch(43.01% 0.209 272.2)
XYZxyz(11.9405, 6.9595, 49.9941)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135BF #BFBB31
analogous
#317CBF #3135BF #7431BF
triadic
#3135BF #BF3135 #35BF31
tetradic
#3135BF #BF317C #BFBB31 #31BF74
square
#3135BF #BF317C #BFBB31 #31BF74
split-complementary
#3135BF #BF7431 #7CBF31
monochromatic
#181A5E #25278E #3135BF #595CD4 #8A8CE1

Accessibility & contrast

On white

8.78
#3135BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3135BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3135BF
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3135BF#FFFFFF#000000##FFFFFF
##3135BF1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0044BD
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3135bf;
/* rgb */ color: rgb(49, 53, 191);
/* oklch */ color: oklch(43.0% 0.209 272.2);
Tailwind
colors: {
  custom: {
    50: '#7f6dd4',
    500: '#3135bf',
    950: '#000000',
  },
}
SCSS
$custom: #3135bf;
$custom-light: #7f6dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3135bf",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 238.31,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43012,
    "c": 0.20859,
    "h": 272.2
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#3135BF
secondary
#CBC981
accent
#DE45E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3135BF

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

Preview Lab → · Contrast checker → · Palette generator →

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