#3135B9#3135B9

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

Color values

HEX#3135B9
RGBrgb(49, 53, 185)
HSLhsl(238, 58%, 46%)
HSVhsv(238, 74%, 73%)
CMYKcmyk(73.5%, 71.4%, 0%, 27.5%)
CIE-LABlab(31.12, 42.73, -69.47)
CIE-LCHlch(31.12, 81.56, 301.59°)
OKLaboklab(42.4% 0.0089 -0.201)
OKLCHoklch(42.4% 0.201 272.5)
XYZxyz(11.2937, 6.7008, 46.5877)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135B9 #B9B531
analogous
#3179B9 #3135B9 #7131B9
triadic
#3135B9 #B93135 #35B931
tetradic
#3135B9 #B93179 #B9B531 #31B971
square
#3135B9 #B93179 #B9B531 #31B971
split-complementary
#3135B9 #B97131 #79B931
monochromatic
#171958 #242789 #3135B9 #5559D2 #8688DF

Accessibility & contrast

On white

8.97
#3135B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3135B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3135B9
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3135B9#FFFFFF#000000##FFFFFF
##3135B91.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BD
Deuteranopia (green-blind)
#0043B7
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3135b9;
/* rgb */ color: rgb(49, 53, 185);
/* oklch */ color: oklch(42.4% 0.201 272.5);
Tailwind
colors: {
  custom: {
    50: '#7e6dcf',
    500: '#3135b9',
    950: '#000000',
  },
}
SCSS
$custom: #3135b9;
$custom-light: #7e6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3135b9",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 238.235,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42404,
    "c": 0.2012,
    "h": 272.5
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#3135B9
secondary
#C8C67D
accent
#DD46E1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3135B9

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

Preview Lab → · Contrast checker → · Palette generator →

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