#3126AF#3126AF

#3126AF is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.3% C 0.204 H 275.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#3126AF
RGBrgb(49, 38, 175)
HSLhsl(245, 64%, 42%)
HSVhsv(245, 78%, 69%)
CMYKcmyk(72%, 78.3%, 0%, 31.4%)
CIE-LABlab(27.11, 47.79, -70.13)
CIE-LCHlch(27.11, 84.86, 304.27°)
OKLaboklab(39.26% 0.0181 -0.2028)
OKLCHoklch(39.26% 0.204 275.1)
XYZxyz(9.6950, 5.1334, 41.0290)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3126AF #A4AF26
analogous
#265FAF #3126AF #7626AF
triadic
#3126AF #AF3126 #26AF31
tetradic
#3126AF #AF265F #A4AF26 #26AF76
square
#3126AF #AF265F #A4AF26 #26AF76
split-complementary
#3126AF #AF7626 #5FAF26
monochromatic
#15104A #231B7D #3126AF #493DD5 #7970E0

Accessibility & contrast

On white

10.36
#3126AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3126AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3126AF#FFFFFF#000000##FFFFFF
##3126AF1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3126af;
/* rgb */ color: rgb(49, 38, 175);
/* oklch */ color: oklch(39.3% 0.204 275.1);
Tailwind
colors: {
  custom: {
    50: '#7d64c8',
    500: '#3126af',
    950: '#000000',
  },
}
SCSS
$custom: #3126af;
$custom-light: #7d64c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3126af",
  "rgb": {
    "r": 49,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 244.818,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39256,
    "c": 0.2036,
    "h": 275.1
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#3126AF
secondary
#BFC76A
accent
#E740DA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3126AF

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

Preview Lab → · Contrast checker → · Palette generator →

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