#3135CA#3135CA

#3135CA is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.1% C 0.222 H 271.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#3135CA
RGBrgb(49, 53, 202)
HSLhsl(238, 61%, 49%)
HSVhsv(238, 76%, 79%)
CMYKcmyk(75.7%, 73.8%, 0%, 20.8%)
CIE-LABlab(32.84, 48.41, -76.62)
CIE-LCHlch(32.84, 90.63, 302.28°)
OKLaboklab(44.15% 0.0063 -0.2218)
OKLCHoklch(44.15% 0.222 271.6)
XYZxyz(13.1968, 7.4620, 56.6105)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135CA #CAC631
analogous
#3182CA #3135CA #7931CA
triadic
#3135CA #CA3135 #35CA31
tetradic
#3135CA #CA3182 #CAC631 #31CA79
square
#3135CA #CA3182 #CAC631 #31CA79
split-complementary
#3135CA #CA7931 #82CA31
monochromatic
#191B67 #252899 #3135CA #6063D8 #9193E4

Accessibility & contrast

On white

8.42
#3135CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3135CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3135CA
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3135CA#FFFFFF#000000##FFFFFF
##3135CA1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CE
Deuteranopia (green-blind)
#0046C7
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3135ca;
/* rgb */ color: rgb(49, 53, 202);
/* oklch */ color: oklch(44.1% 0.222 271.6);
Tailwind
colors: {
  custom: {
    50: '#826edb',
    500: '#3135ca',
    950: '#000000',
  },
}
SCSS
$custom: #3135ca;
$custom-light: #826edb;
$custom-dark: #000000;
JSON
{
  "hex": "#3135ca",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 238.431,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44146,
    "c": 0.2219,
    "h": 271.6
  },
  "luminance": 0.07463
}

Semantic roles & 50–950 ramp

primary
#3135CA
secondary
#CFCD88
accent
#E044E4
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3135CA

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

Preview Lab → · Contrast checker → · Palette generator →

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