#3115CA#3115CA

#3115CA is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.8% C 0.245 H 273.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3115CA
RGBrgb(49, 21, 202)
HSLhsl(249, 81%, 44%)
HSVhsv(249, 90%, 79%)
CMYKcmyk(75.7%, 89.6%, 0%, 20.8%)
CIE-LABlab(27.99, 62.57, -84.66)
CIE-LCHlch(27.99, 105.27, 306.46°)
OKLaboklab(40.78% 0.0153 -0.2446)
OKLCHoklch(40.78% 0.245 273.6)
XYZxyz(12.1919, 5.4523, 56.2755)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3115CA #AECA15
analogous
#1553CA #3115CA #8B15CA
triadic
#3115CA #CA3115 #15CA31
tetradic
#3115CA #CA1553 #AECA15 #15CA8B
square
#3115CA #CA1553 #AECA15 #15CA8B
split-complementary
#3115CA #CA8B15 #53CA15
monochromatic
#16095B #240F93 #3115CA #4F32EA #7F6AEF

Accessibility & contrast

On white

10.04
#3115CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3115CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3115CA
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3115CA#FFFFFF#000000##FFFFFF
##3115CA1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ACF
Deuteranopia (green-blind)
#003AC7
Tritanopia (blue-blind)
#005577
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3115ca;
/* rgb */ color: rgb(49, 21, 202);
/* oklch */ color: oklch(40.8% 0.245 273.6);
Tailwind
colors: {
  custom: {
    50: '#845edc',
    500: '#3115ca',
    950: '#000000',
  },
}
SCSS
$custom: #3115ca;
$custom-light: #845edc;
$custom-dark: #000000;
JSON
{
  "hex": "#3115ca",
  "rgb": {
    "r": 49,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 249.282,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40779,
    "c": 0.2451,
    "h": 273.6
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#3115CA
secondary
#C4D566
accent
#F830D9
background
#F9F5FD
surface
#F1EAFB
border
#CBC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #3115CA

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

Preview Lab → · Contrast checker → · Palette generator →

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