#3126BC#3126BC

#3126BC is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.7% C 0.219 H 273.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#3126BC
RGBrgb(49, 38, 188)
HSLhsl(244, 66%, 44%)
HSVhsv(244, 80%, 74%)
CMYKcmyk(73.9%, 79.8%, 0%, 26.3%)
CIE-LABlab(28.56, 51.84, -75.47)
CIE-LCHlch(28.56, 91.56, 304.48°)
OKLaboklab(40.69% 0.015 -0.2183)
OKLCHoklch(40.69% 0.219 273.9)
XYZxyz(11.0338, 5.6689, 48.0799)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3126BC #B1BC26
analogous
#2666BC #3126BC #7C26BC
triadic
#3126BC #BC3126 #26BC31
tetradic
#3126BC #BC2666 #B1BC26 #26BC7C
square
#3126BC #BC2666 #B1BC26 #26BC7C
split-complementary
#3126BC #BC7C26 #66BC26
monochromatic
#161156 #241C89 #3126BC #5146DA #8079E4

Accessibility & contrast

On white

9.84
#3126BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3126BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3126BC
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3126BC#FFFFFF#000000##FFFFFF
##3126BC1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC0
Deuteranopia (green-blind)
#003CB9
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3126bc;
/* rgb */ color: rgb(49, 38, 188);
/* oklch */ color: oklch(40.7% 0.219 273.9);
Tailwind
colors: {
  custom: {
    50: '#8064d2',
    500: '#3126bc',
    950: '#000000',
  },
}
SCSS
$custom: #3126bc;
$custom-light: #8064d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3126bc",
  "rgb": {
    "r": 49,
    "g": 38,
    "b": 188
  },
  "hsl": {
    "h": 244.4,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40693,
    "c": 0.21881,
    "h": 273.9
  },
  "luminance": 0.0567
}

Semantic roles & 50–950 ramp

primary
#3126BC
secondary
#C5CC72
accent
#E93FDD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3126BC

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

Preview Lab → · Contrast checker → · Palette generator →

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