#3125AC#3125AC

#3125AC is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.8% C 0.201 H 275.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#3125AC
RGBrgb(49, 37, 172)
HSLhsl(245, 65%, 41%)
HSVhsv(245, 78%, 67%)
CMYKcmyk(71.5%, 78.5%, 0%, 32.5%)
CIE-LABlab(26.60, 47.36, -69.17)
CIE-LCHlch(26.60, 83.83, 304.40°)
OKLaboklab(38.8% 0.0193 -0.2)
OKLCHoklch(38.8% 0.201 275.5)
XYZxyz(9.3721, 4.9538, 39.4840)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3125AC #A0AC25
analogous
#255CAC #3125AC #7425AC
triadic
#3125AC #AC3125 #25AC31
tetradic
#3125AC #AC255C #A0AC25 #25AC74
square
#3125AC #AC255C #A0AC25 #25AC74
split-complementary
#3125AC #AC7425 #5CAC25
monochromatic
#140F47 #231A7A #3125AC #473AD5 #766CDF

Accessibility & contrast

On white

10.55
#3125AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3125AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3125AC
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3125AC#FFFFFF#000000##FFFFFF
##3125AC1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.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: #3125ac;
/* rgb */ color: rgb(49, 37, 172);
/* oklch */ color: oklch(38.8% 0.201 275.5);
Tailwind
colors: {
  custom: {
    50: '#7d63c6',
    500: '#3125ac',
    950: '#000000',
  },
}
SCSS
$custom: #3125ac;
$custom-light: #7d63c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3125ac",
  "rgb": {
    "r": 49,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 245.333,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38803,
    "c": 0.20092,
    "h": 275.5
  },
  "luminance": 0.04955
}

Semantic roles & 50–950 ramp

primary
#3125AC
secondary
#BDC667
accent
#E840D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3125AC

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

Preview Lab → · Contrast checker → · Palette generator →

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