#3125AB#3125AB

#3125AB is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.7% C 0.200 H 275.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#3125AB
RGBrgb(49, 37, 171)
HSLhsl(245, 64%, 41%)
HSVhsv(245, 78%, 67%)
CMYKcmyk(71.3%, 78.4%, 0%, 32.9%)
CIE-LABlab(26.49, 47.05, -68.75)
CIE-LCHlch(26.49, 83.31, 304.39°)
OKLaboklab(38.69% 0.0195 -0.1988)
OKLCHoklch(38.69% 0.2 275.6)
XYZxyz(9.2765, 4.9155, 38.9801)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3125AB #9FAB25
analogous
#255CAB #3125AB #7425AB
triadic
#3125AB #AB3125 #25AB31
tetradic
#3125AB #AB255C #9FAB25 #25AB74
square
#3125AB #AB255C #9FAB25 #25AB74
split-complementary
#3125AB #AB7425 #5CAB25
monochromatic
#140F46 #231A79 #3125AB #4739D4 #766BDF

Accessibility & contrast

On white

10.59
#3125AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3125AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3125AB
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3125AB#FFFFFF#000000##FFFFFF
##3125AB1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AF
Deuteranopia (green-blind)
#0039A9
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3125ab;
/* rgb */ color: rgb(49, 37, 171);
/* oklch */ color: oklch(38.7% 0.200 275.6);
Tailwind
colors: {
  custom: {
    50: '#7c63c5',
    500: '#3125ab',
    950: '#000000',
  },
}
SCSS
$custom: #3125ab;
$custom-light: #7c63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3125ab",
  "rgb": {
    "r": 49,
    "g": 37,
    "b": 171
  },
  "hsl": {
    "h": 245.373,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38693,
    "c": 0.19973,
    "h": 275.6
  },
  "luminance": 0.04916
}

Semantic roles & 50–950 ramp

primary
#3125AB
secondary
#BDC567
accent
#E740D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3125AB

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

Preview Lab → · Contrast checker → · Palette generator →

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