#3126B0#3126B0

#3126B0 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.4% C 0.205 H 275.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#3126B0
RGBrgb(49, 38, 176)
HSLhsl(245, 64%, 42%)
HSVhsv(245, 78%, 69%)
CMYKcmyk(72.2%, 78.4%, 0%, 31%)
CIE-LABlab(27.22, 48.11, -70.54)
CIE-LCHlch(27.22, 85.39, 304.29°)
OKLaboklab(39.37% 0.0179 -0.204)
OKLCHoklch(39.37% 0.205 275)
XYZxyz(9.7936, 5.1728, 41.5482)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3126B0 #A5B026
analogous
#2660B0 #3126B0 #7626B0
triadic
#3126B0 #B03126 #26B031
tetradic
#3126B0 #B02660 #A5B026 #26B076
square
#3126B0 #B02660 #A5B026 #26B076
split-complementary
#3126B0 #B07626 #60B026
monochromatic
#15104B #231B7E #3126B0 #4A3ED5 #7970E0

Accessibility & contrast

On white

10.32
#3126B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3126B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3126B0
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3126B0#FFFFFF#000000##FFFFFF
##3126B01.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B4
Deuteranopia (green-blind)
#003AAE
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3126b0;
/* rgb */ color: rgb(49, 38, 176);
/* oklch */ color: oklch(39.4% 0.205 275.0);
Tailwind
colors: {
  custom: {
    50: '#7d64c9',
    500: '#3126b0',
    950: '#000000',
  },
}
SCSS
$custom: #3126b0;
$custom-light: #7d64c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3126b0",
  "rgb": {
    "r": 49,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 244.783,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39365,
    "c": 0.20478,
    "h": 275
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

primary
#3126B0
secondary
#C0C76B
accent
#E740DA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3126B0

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

Preview Lab → · Contrast checker → · Palette generator →

#3126B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva