#3125A5#3125A5

#3125A5 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.193 H 276.3°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#3125A5
RGBrgb(49, 37, 165)
HSLhsl(246, 63%, 40%)
HSVhsv(246, 78%, 65%)
CMYKcmyk(70.3%, 77.6%, 0%, 35.3%)
CIE-LABlab(25.84, 45.15, -66.21)
CIE-LCHlch(25.84, 80.14, 304.29°)
OKLaboklab(38.04% 0.021 -0.1914)
OKLCHoklch(38.04% 0.193 276.3)
XYZxyz(8.7175, 4.6919, 36.0362)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3125A5 #99A525
analogous
#2559A5 #3125A5 #7125A5
triadic
#3125A5 #A53125 #25A531
tetradic
#3125A5 #A52559 #99A525 #25A571
square
#3125A5 #A52559 #99A525 #25A571
split-complementary
#3125A5 #A57125 #59A525
monochromatic
#130F41 #221A73 #3125A5 #4435D2 #7267DD

Accessibility & contrast

On white

10.83
#3125A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3125A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3125A5
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3125A5#FFFFFF#000000##FFFFFF
##3125A51.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3125a5;
/* rgb */ color: rgb(49, 37, 165);
/* oklch */ color: oklch(38.0% 0.193 276.3);
Tailwind
colors: {
  custom: {
    50: '#7b62c1',
    500: '#3125a5',
    950: '#000000',
  },
}
SCSS
$custom: #3125a5;
$custom-light: #7b62c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3125a5",
  "rgb": {
    "r": 49,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 245.625,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38042,
    "c": 0.19253,
    "h": 276.3
  },
  "luminance": 0.04693
}

Semantic roles & 50–950 ramp

primary
#3125A5
secondary
#BAC363
accent
#E641D7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3125A5

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

Preview Lab → · Contrast checker → · Palette generator →

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