#3125AD#3125AD

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

Color values

HEX#3125AD
RGBrgb(49, 37, 173)
HSLhsl(245, 65%, 41%)
HSVhsv(245, 79%, 68%)
CMYKcmyk(71.7%, 78.6%, 0%, 32.2%)
CIE-LABlab(26.71, 47.68, -69.59)
CIE-LCHlch(26.71, 84.35, 304.42°)
OKLaboklab(38.91% 0.0191 -0.2012)
OKLCHoklch(38.91% 0.202 275.4)
XYZxyz(9.4685, 4.9923, 39.9917)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3125AD #A1AD25
analogous
#255DAD #3125AD #7525AD
triadic
#3125AD #AD3125 #25AD31
tetradic
#3125AD #AD255D #A1AD25 #25AD75
square
#3125AD #AD255D #A1AD25 #25AD75
split-complementary
#3125AD #AD7525 #5DAD25
monochromatic
#140F48 #231A7B #3125AD #483AD5 #776DE0

Accessibility & contrast

On white

10.51
#3125AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3125AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3125AD
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3125AD#FFFFFF#000000##FFFFFF
##3125AD1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#0039AB
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3125ad;
/* rgb */ color: rgb(49, 37, 173);
/* oklch */ color: oklch(38.9% 0.202 275.4);
Tailwind
colors: {
  custom: {
    50: '#7d63c7',
    500: '#3125ad',
    950: '#000000',
  },
}
SCSS
$custom: #3125ad;
$custom-light: #7d63c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3125ad",
  "rgb": {
    "r": 49,
    "g": 37,
    "b": 173
  },
  "hsl": {
    "h": 245.294,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38912,
    "c": 0.20211,
    "h": 275.4
  },
  "luminance": 0.04993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3125AD

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

Preview Lab → · Contrast checker → · Palette generator →

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