#3126A0#3126A0

#3126A0 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.185 H 276.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#3126A0
RGBrgb(49, 38, 160)
HSLhsl(245, 62%, 39%)
HSVhsv(245, 76%, 63%)
CMYKcmyk(69.4%, 76.3%, 0%, 37.3%)
CIE-LABlab(25.49, 43.01, -63.74)
CIE-LCHlch(25.49, 76.89, 304.01°)
OKLaboklab(37.64% 0.0216 -0.1842)
OKLCHoklch(37.64% 0.185 276.7)
XYZxyz(8.3028, 4.5765, 33.6967)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3126A0 #95A026
analogous
#2658A0 #3126A0 #6E26A0
triadic
#3126A0 #A03126 #26A031
tetradic
#3126A0 #A02658 #95A026 #26A06E
square
#3126A0 #A02658 #95A026 #26A06E
split-complementary
#3126A0 #A06E26 #58A026
monochromatic
#130F3D #221A6F #3126A0 #4234CF #7066DB

Accessibility & contrast

On white

10.96
#3126A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3126A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3126A0#FFFFFF#000000##FFFFFF
##3126A01.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3126a0;
/* rgb */ color: rgb(49, 38, 160);
/* oklch */ color: oklch(37.6% 0.185 276.7);
Tailwind
colors: {
  custom: {
    50: '#7a63bd',
    500: '#3126a0',
    950: '#000000',
  },
}
SCSS
$custom: #3126a0;
$custom-light: #7a63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3126a0",
  "rgb": {
    "r": 49,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 245.41,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37639,
    "c": 0.18548,
    "h": 276.7
  },
  "luminance": 0.04577
}

Semantic roles & 50–950 ramp

primary
#3126A0
secondary
#B8C061
accent
#E543D6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3126A0

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

Preview Lab → · Contrast checker → · Palette generator →

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