#3125B7#3125B7

#3125B7 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.0% C 0.214 H 274.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#3125B7
RGBrgb(49, 37, 183)
HSLhsl(245, 66%, 43%)
HSVhsv(245, 80%, 72%)
CMYKcmyk(73.2%, 79.8%, 0%, 28.2%)
CIE-LABlab(27.83, 50.79, -73.72)
CIE-LCHlch(27.83, 89.52, 304.56°)
OKLaboklab(40.02% 0.0166 -0.2132)
OKLCHoklch(40.02% 0.214 274.4)
XYZxyz(10.4726, 5.3940, 45.2798)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3125B7 #ABB725
analogous
#2562B7 #3125B7 #7A25B7
triadic
#3125B7 #B73125 #25B731
tetradic
#3125B7 #B72562 #ABB725 #25B77A
square
#3125B7 #B72562 #ABB725 #25B77A
split-complementary
#3125B7 #B77A25 #62B725
monochromatic
#161051 #231B84 #3125B7 #4D41D9 #7D74E3

Accessibility & contrast

On white

10.10
#3125B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3125B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3125B7
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3125B7#FFFFFF#000000##FFFFFF
##3125B71.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BB
Deuteranopia (green-blind)
#003BB4
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3125b7;
/* rgb */ color: rgb(49, 37, 183);
/* oklch */ color: oklch(40.0% 0.214 274.4);
Tailwind
colors: {
  custom: {
    50: '#7f63ce',
    500: '#3125b7',
    950: '#000000',
  },
}
SCSS
$custom: #3125b7;
$custom-light: #7f63ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3125b7",
  "rgb": {
    "r": 49,
    "g": 37,
    "b": 183
  },
  "hsl": {
    "h": 244.932,
    "s": 66.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40018,
    "c": 0.21384,
    "h": 274.4
  },
  "luminance": 0.05395
}

Semantic roles & 50–950 ramp

primary
#3125B7
secondary
#C2CA6E
accent
#E93FDB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3125B7

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

Preview Lab → · Contrast checker → · Palette generator →

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