#3126AA#3126AA

#3126AA is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.7% C 0.198 H 275.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#3126AA
RGBrgb(49, 38, 170)
HSLhsl(245, 63%, 41%)
HSVhsv(245, 78%, 67%)
CMYKcmyk(71.2%, 77.6%, 0%, 33.3%)
CIE-LABlab(26.56, 46.21, -68.03)
CIE-LCHlch(26.56, 82.24, 304.19°)
OKLaboklab(38.71% 0.0193 -0.1967)
OKLCHoklch(38.71% 0.198 275.6)
XYZxyz(9.2130, 4.9406, 38.4905)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3126AA #9FAA26
analogous
#265DAA #3126AA #7326AA
triadic
#3126AA #AA3126 #26AA31
tetradic
#3126AA #AA265D #9FAA26 #26AA73
square
#3126AA #AA265D #9FAA26 #26AA73
split-complementary
#3126AA #AA7326 #5DAA26
monochromatic
#141046 #231B78 #3126AA #473AD3 #766CDE

Accessibility & contrast

On white

10.56
#3126AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3126AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3126AA#FFFFFF#000000##FFFFFF
##3126AA1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#0039A8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3126aa;
/* rgb */ color: rgb(49, 38, 170);
/* oklch */ color: oklch(38.7% 0.198 275.6);
Tailwind
colors: {
  custom: {
    50: '#7c63c5',
    500: '#3126aa',
    950: '#000000',
  },
}
SCSS
$custom: #3126aa;
$custom-light: #7c63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3126aa",
  "rgb": {
    "r": 49,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 245,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38712,
    "c": 0.19763,
    "h": 275.6
  },
  "luminance": 0.04941
}

Semantic roles & 50–950 ramp

primary
#3126AA
secondary
#BDC567
accent
#E641D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3126AA

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

Preview Lab → · Contrast checker → · Palette generator →

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