#3126AE#3126AE

#3126AE is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.1% C 0.202 H 275.2°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#3126AE
RGBrgb(49, 38, 174)
HSLhsl(245, 64%, 42%)
HSVhsv(245, 78%, 68%)
CMYKcmyk(71.8%, 78.2%, 0%, 31.8%)
CIE-LABlab(27.00, 47.48, -69.71)
CIE-LCHlch(27.00, 84.34, 304.26°)
OKLaboklab(39.15% 0.0184 -0.2016)
OKLCHoklch(39.15% 0.202 275.2)
XYZxyz(9.5972, 5.0943, 40.5137)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3126AE #A3AE26
analogous
#265FAE #3126AE #7526AE
triadic
#3126AE #AE3126 #26AE31
tetradic
#3126AE #AE265F #A3AE26 #26AE75
square
#3126AE #AE265F #A3AE26 #26AE75
split-complementary
#3126AE #AE7526 #5FAE26
monochromatic
#15104A #231B7C #3126AE #493DD5 #786FE0

Accessibility & contrast

On white

10.40
#3126AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3126AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3126AE
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3126AE#FFFFFF#000000##FFFFFF
##3126AE1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3126ae;
/* rgb */ color: rgb(49, 38, 174);
/* oklch */ color: oklch(39.1% 0.202 275.2);
Tailwind
colors: {
  custom: {
    50: '#7d63c7',
    500: '#3126ae',
    950: '#000000',
  },
}
SCSS
$custom: #3126ae;
$custom-light: #7d63c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3126ae",
  "rgb": {
    "r": 49,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 244.853,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39147,
    "c": 0.2024,
    "h": 275.2
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#3126AE
secondary
#BFC66A
accent
#E741DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3126AE

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

Preview Lab → · Contrast checker → · Palette generator →

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