#3125A9#3125A9

#3125A9 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.5% C 0.197 H 275.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#3125A9
RGBrgb(49, 37, 169)
HSLhsl(245, 64%, 40%)
HSVhsv(245, 78%, 66%)
CMYKcmyk(71%, 78.1%, 0%, 33.7%)
CIE-LABlab(26.27, 46.42, -67.91)
CIE-LCHlch(26.27, 82.26, 304.36°)
OKLaboklab(38.48% 0.02 -0.1963)
OKLCHoklch(38.48% 0.197 275.8)
XYZxyz(9.0873, 4.8398, 37.9837)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3125A9 #9DA925
analogous
#255BA9 #3125A9 #7325A9
triadic
#3125A9 #A93125 #25A931
tetradic
#3125A9 #A9255B #9DA925 #25A973
square
#3125A9 #A9255B #9DA925 #25A973
split-complementary
#3125A9 #A97325 #5BA925
monochromatic
#140F45 #221A77 #3125A9 #4638D3 #756ADE

Accessibility & contrast

On white

10.67
#3125A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3125A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3125A9
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3125A9#FFFFFF#000000##FFFFFF
##3125A91.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3125a9;
/* rgb */ color: rgb(49, 37, 169);
/* oklch */ color: oklch(38.5% 0.197 275.8);
Tailwind
colors: {
  custom: {
    50: '#7c63c4',
    500: '#3125a9',
    950: '#000000',
  },
}
SCSS
$custom: #3125a9;
$custom-light: #7c63c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3125a9",
  "rgb": {
    "r": 49,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 245.455,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38475,
    "c": 0.19734,
    "h": 275.8
  },
  "luminance": 0.04841
}

Semantic roles & 50–950 ramp

primary
#3125A9
secondary
#BCC465
accent
#E741D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3125A9

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

Preview Lab → · Contrast checker → · Palette generator →

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