#3135BC#3135BC

#3135BC is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.7% C 0.205 H 272.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#3135BC
RGBrgb(49, 53, 188)
HSLhsl(238, 59%, 46%)
HSVhsv(238, 74%, 74%)
CMYKcmyk(73.9%, 71.8%, 0%, 26.3%)
CIE-LABlab(31.41, 43.74, -70.75)
CIE-LCHlch(31.41, 83.18, 301.73°)
OKLaboklab(42.71% 0.0085 -0.2047)
OKLCHoklch(42.71% 0.205 272.4)
XYZxyz(11.6138, 6.8288, 48.2732)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135BC #BCB831
analogous
#317BBC #3135BC #7331BC
triadic
#3135BC #BC3135 #35BC31
tetradic
#3135BC #BC317B #BCB831 #31BC73
square
#3135BC #BC317B #BCB831 #31BC73
split-complementary
#3135BC #BC7331 #7BBC31
monochromatic
#181A5B #24278B #3135BC #575BD3 #888AE0

Accessibility & contrast

On white

8.88
#3135BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3135BC
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3135BC#FFFFFF#000000##FFFFFF
##3135BC1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0043BA
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3135bc;
/* rgb */ color: rgb(49, 53, 188);
/* oklch */ color: oklch(42.7% 0.205 272.4);
Tailwind
colors: {
  custom: {
    50: '#7f6dd1',
    500: '#3135bc',
    950: '#000000',
  },
}
SCSS
$custom: #3135bc;
$custom-light: #7f6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3135bc",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 238.273,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42707,
    "c": 0.20491,
    "h": 272.4
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#3135BC
secondary
#CAC77F
accent
#DD46E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3135BC

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

Preview Lab → · Contrast checker → · Palette generator →

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