#3125B0#3125B0

#3125B0 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.2% C 0.206 H 275.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#3125B0
RGBrgb(49, 37, 176)
HSLhsl(245, 65%, 42%)
HSVhsv(245, 79%, 69%)
CMYKcmyk(72.2%, 79%, 0%, 31%)
CIE-LABlab(27.05, 48.62, -70.84)
CIE-LCHlch(27.05, 85.92, 304.46°)
OKLaboklab(39.24% 0.0183 -0.2048)
OKLCHoklch(39.24% 0.206 275.1)
XYZxyz(9.7621, 5.1097, 41.5377)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3125B0 #A4B025
analogous
#255FB0 #3125B0 #7725B0
triadic
#3125B0 #B03125 #25B031
tetradic
#3125B0 #B0255F #A4B025 #25B077
square
#3125B0 #B0255F #A4B025 #25B077
split-complementary
#3125B0 #B07725 #5FB025
monochromatic
#15104B #231A7D #3125B0 #493CD6 #796FE1

Accessibility & contrast

On white

10.38
#3125B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3125B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3125B0
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3125B0#FFFFFF#000000##FFFFFF
##3125B01.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B4
Deuteranopia (green-blind)
#003AAE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3125b0;
/* rgb */ color: rgb(49, 37, 176);
/* oklch */ color: oklch(39.2% 0.206 275.1);
Tailwind
colors: {
  custom: {
    50: '#7d63c9',
    500: '#3125b0',
    950: '#000000',
  },
}
SCSS
$custom: #3125b0;
$custom-light: #7d63c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3125b0",
  "rgb": {
    "r": 49,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 245.18,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39242,
    "c": 0.20566,
    "h": 275.1
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#3125B0
secondary
#BFC76A
accent
#E840DA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3125B0

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

Preview Lab → · Contrast checker → · Palette generator →

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