#3126AD#3126AD

#3126AD is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.0% C 0.201 H 275.3°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3126AD
RGBrgb(49, 38, 173)
HSLhsl(245, 64%, 41%)
HSVhsv(245, 78%, 68%)
CMYKcmyk(71.7%, 78%, 0%, 32.2%)
CIE-LABlab(26.89, 47.16, -69.29)
CIE-LCHlch(26.89, 83.82, 304.24°)
OKLaboklab(39.04% 0.0186 -0.2004)
OKLCHoklch(39.04% 0.201 275.3)
XYZxyz(9.5001, 5.0554, 40.0022)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3126AD #A2AD26
analogous
#265FAD #3126AD #7526AD
triadic
#3126AD #AD3126 #26AD31
tetradic
#3126AD #AD265F #A2AD26 #26AD75
square
#3126AD #AD265F #A2AD26 #26AD75
split-complementary
#3126AD #AD7526 #5FAD26
monochromatic
#151049 #231B7B #3126AD #483CD4 #776EDF

Accessibility & contrast

On white

10.44
#3126AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3126AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3126AD
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3126AD#FFFFFF#000000##FFFFFF
##3126AD1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#0039AB
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3126ad;
/* rgb */ color: rgb(49, 38, 173);
/* oklch */ color: oklch(39.0% 0.201 275.3);
Tailwind
colors: {
  custom: {
    50: '#7d63c7',
    500: '#3126ad',
    950: '#000000',
  },
}
SCSS
$custom: #3126ad;
$custom-light: #7d63c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3126ad",
  "rgb": {
    "r": 49,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 244.889,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39038,
    "c": 0.20122,
    "h": 275.3
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#3126AD
secondary
#BEC669
accent
#E741D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3126AD

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

Preview Lab → · Contrast checker → · Palette generator →

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