#3135AC#3135AC

#3135AC is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.185 H 273.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#3135AC
RGBrgb(49, 53, 172)
HSLhsl(238, 56%, 43%)
HSVhsv(238, 72%, 67%)
CMYKcmyk(71.5%, 69.2%, 0%, 32.5%)
CIE-LABlab(29.85, 38.27, -63.81)
CIE-LCHlch(29.85, 74.40, 300.95°)
OKLaboklab(41.12% 0.0107 -0.1845)
OKLCHoklch(41.12% 0.185 273.3)
XYZxyz(9.9836, 6.1768, 39.6878)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135AC #ACA831
analogous
#3172AC #3135AC #6A31AC
triadic
#3135AC #AC3135 #35AC31
tetradic
#3135AC #AC3172 #ACA831 #31AC6A
square
#3135AC #AC3172 #ACA831 #31AC6A
split-complementary
#3135AC #AC6A31 #72AC31
monochromatic
#16184D #23267C #3135AC #4E52CC #7D80DA

Accessibility & contrast

On white

9.39
#3135AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3135AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3135AC
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3135AC#FFFFFF#000000##FFFFFF
##3135AC1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3135ac;
/* rgb */ color: rgb(49, 53, 172);
/* oklch */ color: oklch(41.1% 0.185 273.3);
Tailwind
colors: {
  custom: {
    50: '#7b6dc6',
    500: '#3135ac',
    950: '#000000',
  },
}
SCSS
$custom: #3135ac;
$custom-light: #7b6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3135ac",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 238.049,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41115,
    "c": 0.18477,
    "h": 273.3
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

primary
#3135AC
secondary
#C3C076
accent
#DA49DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3135AC

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

Preview Lab → · Contrast checker → · Palette generator →

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