#3125AF#3125AF

#3125AF is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.1% C 0.204 H 275.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#3125AF
RGBrgb(49, 37, 175)
HSLhsl(245, 65%, 42%)
HSVhsv(245, 79%, 69%)
CMYKcmyk(72%, 78.9%, 0%, 31.4%)
CIE-LABlab(26.93, 48.30, -70.42)
CIE-LCHlch(26.93, 85.40, 304.45°)
OKLaboklab(39.13% 0.0186 -0.2036)
OKLCHoklch(39.13% 0.204 275.2)
XYZxyz(9.6635, 5.0703, 41.0185)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3125AF #A3AF25
analogous
#255EAF #3125AF #7625AF
triadic
#3125AF #AF3125 #25AF31
tetradic
#3125AF #AF255E #A3AF25 #25AF76
square
#3125AF #AF255E #A3AF25 #25AF76
split-complementary
#3125AF #AF7625 #5EAF25
monochromatic
#15104A #231A7C #3125AF #493CD6 #786EE0

Accessibility & contrast

On white

10.43
#3125AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3125AF
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3125AF#FFFFFF#000000##FFFFFF
##3125AF1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3125af;
/* rgb */ color: rgb(49, 37, 175);
/* oklch */ color: oklch(39.1% 0.204 275.2);
Tailwind
colors: {
  custom: {
    50: '#7d63c8',
    500: '#3125af',
    950: '#000000',
  },
}
SCSS
$custom: #3125af;
$custom-light: #7d63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3125af",
  "rgb": {
    "r": 49,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 245.217,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39132,
    "c": 0.20447,
    "h": 275.2
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#3125AF
secondary
#BFC769
accent
#E840D9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3125AF

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

Preview Lab → · Contrast checker → · Palette generator →

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