#3126AC#3126AC

#3126AC is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.9% C 0.200 H 275.4°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#3126AC
RGBrgb(49, 38, 172)
HSLhsl(245, 64%, 41%)
HSVhsv(245, 78%, 67%)
CMYKcmyk(71.5%, 77.9%, 0%, 32.5%)
CIE-LABlab(26.78, 46.85, -68.87)
CIE-LCHlch(26.78, 83.29, 304.22°)
OKLaboklab(38.93% 0.0188 -0.1991)
OKLCHoklch(38.93% 0.2 275.4)
XYZxyz(9.4037, 5.0169, 39.4945)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3126AC #A1AC26
analogous
#265EAC #3126AC #7426AC
triadic
#3126AC #AC3126 #26AC31
tetradic
#3126AC #AC265E #A1AC26 #26AC74
square
#3126AC #AC265E #A1AC26 #26AC74
split-complementary
#3126AC #AC7426 #5EAC26
monochromatic
#141048 #231B7A #3126AC #483BD4 #776EDF

Accessibility & contrast

On white

10.48
#3126AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3126AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3126AC#FFFFFF#000000##FFFFFF
##3126AC1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3126ac;
/* rgb */ color: rgb(49, 38, 172);
/* oklch */ color: oklch(38.9% 0.200 275.4);
Tailwind
colors: {
  custom: {
    50: '#7c63c6',
    500: '#3126ac',
    950: '#000000',
  },
}
SCSS
$custom: #3126ac;
$custom-light: #7c63c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3126ac",
  "rgb": {
    "r": 49,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 244.925,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38929,
    "c": 0.20002,
    "h": 275.4
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3126AC

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

Preview Lab → · Contrast checker → · Palette generator →

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