#3126A9#3126A9

#3126A9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.196 H 275.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#3126A9
RGBrgb(49, 38, 169)
HSLhsl(245, 63%, 41%)
HSVhsv(245, 78%, 66%)
CMYKcmyk(71%, 77.5%, 0%, 33.7%)
CIE-LABlab(26.46, 45.89, -67.60)
CIE-LCHlch(26.46, 81.71, 304.17°)
OKLaboklab(38.6% 0.0196 -0.1955)
OKLCHoklch(38.6% 0.196 275.7)
XYZxyz(9.1188, 4.9029, 37.9942)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3126A9 #9EA926
analogous
#265CA9 #3126A9 #7226A9
triadic
#3126A9 #A93126 #26A931
tetradic
#3126A9 #A9265C #9EA926 #26A972
square
#3126A9 #A9265C #9EA926 #26A972
split-complementary
#3126A9 #A97226 #5CA926
monochromatic
#141045 #231B77 #3126A9 #463AD3 #756CDE

Accessibility & contrast

On white

10.60
#3126A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3126A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3126A9
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3126A9#FFFFFF#000000##FFFFFF
##3126A91.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3126a9;
/* rgb */ color: rgb(49, 38, 169);
/* oklch */ color: oklch(38.6% 0.196 275.7);
Tailwind
colors: {
  custom: {
    50: '#7c63c4',
    500: '#3126a9',
    950: '#000000',
  },
}
SCSS
$custom: #3126a9;
$custom-light: #7c63c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3126a9",
  "rgb": {
    "r": 49,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 245.038,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38604,
    "c": 0.19643,
    "h": 275.7
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#3126A9
secondary
#BCC467
accent
#E641D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3126A9

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

Preview Lab → · Contrast checker → · Palette generator →

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