#3125B1#3125B1

#3125B1 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.4% C 0.207 H 275.0°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#3125B1
RGBrgb(49, 37, 177)
HSLhsl(245, 65%, 42%)
HSVhsv(245, 79%, 69%)
CMYKcmyk(72.3%, 79.1%, 0%, 30.6%)
CIE-LABlab(27.16, 48.93, -71.25)
CIE-LCHlch(27.16, 86.43, 304.48°)
OKLaboklab(39.35% 0.0181 -0.206)
OKLCHoklch(39.35% 0.207 275)
XYZxyz(9.8614, 5.1495, 42.0607)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3125B1 #A5B125
analogous
#255FB1 #3125B1 #7725B1
triadic
#3125B1 #B13125 #25B131
tetradic
#3125B1 #B1255F #A5B125 #25B177
square
#3125B1 #B1255F #A5B125 #25B177
split-complementary
#3125B1 #B17725 #5FB125
monochromatic
#15104C #231A7E #3125B1 #4A3DD6 #796FE1

Accessibility & contrast

On white

10.34
#3125B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3125B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3125B1
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3125B1#FFFFFF#000000##FFFFFF
##3125B11.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#003AAF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3125b1;
/* rgb */ color: rgb(49, 37, 177);
/* oklch */ color: oklch(39.4% 0.207 275.0);
Tailwind
colors: {
  custom: {
    50: '#7e63ca',
    500: '#3125b1',
    950: '#000000',
  },
}
SCSS
$custom: #3125b1;
$custom-light: #7e63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3125b1",
  "rgb": {
    "r": 49,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 245.143,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39352,
    "c": 0.20683,
    "h": 275
  },
  "luminance": 0.0515
}

Semantic roles & 50–950 ramp

primary
#3125B1
secondary
#C0C86A
accent
#E83FDA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3125B1

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

Preview Lab → · Contrast checker → · Palette generator →

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