#3126B3#3126B3

#3126B3 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.7% C 0.208 H 274.7°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#3126B3
RGBrgb(49, 38, 179)
HSLhsl(245, 65%, 43%)
HSVhsv(245, 79%, 70%)
CMYKcmyk(72.6%, 78.8%, 0%, 29.8%)
CIE-LABlab(27.55, 49.05, -71.79)
CIE-LCHlch(27.55, 86.94, 304.34°)
OKLaboklab(39.7% 0.0172 -0.2076)
OKLCHoklch(39.7% 0.208 274.7)
XYZxyz(10.0937, 5.2929, 43.1288)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3126B3 #A8B326
analogous
#2661B3 #3126B3 #7826B3
triadic
#3126B3 #B33126 #26B331
tetradic
#3126B3 #B32661 #A8B326 #26B378
square
#3126B3 #B32661 #A8B326 #26B378
split-complementary
#3126B3 #B37826 #61B326
monochromatic
#15114E #231B81 #3126B3 #4C40D6 #7B72E1

Accessibility & contrast

On white

10.20
#3126B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3126B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3126B3#FFFFFF#000000##FFFFFF
##3126B31.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3126b3;
/* rgb */ color: rgb(49, 38, 179);
/* oklch */ color: oklch(39.7% 0.208 274.7);
Tailwind
colors: {
  custom: {
    50: '#7e64cb',
    500: '#3126b3',
    950: '#000000',
  },
}
SCSS
$custom: #3126b3;
$custom-light: #7e64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3126b3",
  "rgb": {
    "r": 49,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 244.681,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39695,
    "c": 0.20833,
    "h": 274.7
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#3126B3
secondary
#C1C86D
accent
#E840DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3126B3

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

Preview Lab → · Contrast checker → · Palette generator →

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