#3125AE#3125AE

#3125AE is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.0% C 0.203 H 275.3°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#3125AE
RGBrgb(49, 37, 174)
HSLhsl(245, 65%, 41%)
HSVhsv(245, 79%, 68%)
CMYKcmyk(71.8%, 78.7%, 0%, 31.8%)
CIE-LABlab(26.82, 47.99, -70.00)
CIE-LCHlch(26.82, 84.87, 304.43°)
OKLaboklab(39.02% 0.0188 -0.2024)
OKLCHoklch(39.02% 0.203 275.3)
XYZxyz(9.5657, 5.0312, 40.5032)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3125AE #A2AE25
analogous
#255EAE #3125AE #7625AE
triadic
#3125AE #AE3125 #25AE31
tetradic
#3125AE #AE255E #A2AE25 #25AE76
square
#3125AE #AE255E #A2AE25 #25AE76
split-complementary
#3125AE #AE7625 #5EAE25
monochromatic
#151049 #231A7C #3125AE #483BD5 #776DE0

Accessibility & contrast

On white

10.47
#3125AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3125AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3125AE
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3125AE#FFFFFF#000000##FFFFFF
##3125AE1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#0039AC
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3125ae;
/* rgb */ color: rgb(49, 37, 174);
/* oklch */ color: oklch(39.0% 0.203 275.3);
Tailwind
colors: {
  custom: {
    50: '#7d63c8',
    500: '#3125ae',
    950: '#000000',
  },
}
SCSS
$custom: #3125ae;
$custom-light: #7d63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3125ae",
  "rgb": {
    "r": 49,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 245.255,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39022,
    "c": 0.20329,
    "h": 275.3
  },
  "luminance": 0.05032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3125AE

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

Preview Lab → · Contrast checker → · Palette generator →

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