#3125B3#3125B3

#3125B3 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.6% C 0.209 H 274.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#3125B3
RGBrgb(49, 37, 179)
HSLhsl(245, 66%, 42%)
HSVhsv(245, 79%, 70%)
CMYKcmyk(72.6%, 79.3%, 0%, 29.8%)
CIE-LABlab(27.38, 49.55, -72.08)
CIE-LCHlch(27.38, 87.47, 304.51°)
OKLaboklab(39.57% 0.0176 -0.2084)
OKLCHoklch(39.57% 0.209 274.8)
XYZxyz(10.0622, 5.2298, 43.1182)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3125B3 #A7B325
analogous
#2560B3 #3125B3 #7825B3
triadic
#3125B3 #B33125 #25B331
tetradic
#3125B3 #B32560 #A7B325 #25B378
square
#3125B3 #B32560 #A7B325 #25B378
split-complementary
#3125B3 #B37825 #60B325
monochromatic
#15104E #231B80 #3125B3 #4B3ED7 #7A71E2

Accessibility & contrast

On white

10.26
#3125B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3125B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3125B3
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3125B3#FFFFFF#000000##FFFFFF
##3125B31.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3125b3;
/* rgb */ color: rgb(49, 37, 179);
/* oklch */ color: oklch(39.6% 0.209 274.8);
Tailwind
colors: {
  custom: {
    50: '#7e63cb',
    500: '#3125b3',
    950: '#000000',
  },
}
SCSS
$custom: #3125b3;
$custom-light: #7e63cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3125b3",
  "rgb": {
    "r": 49,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 245.07,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39574,
    "c": 0.20918,
    "h": 274.8
  },
  "luminance": 0.05231
}

Semantic roles & 50–950 ramp

primary
#3125B3
secondary
#C1C86B
accent
#E93FDA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3125B3

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

Preview Lab → · Contrast checker → · Palette generator →

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