#3125A2#3125A2

#3125A2 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.189 H 276.6°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#3125A2
RGBrgb(49, 37, 162)
HSLhsl(246, 63%, 39%)
HSVhsv(246, 77%, 64%)
CMYKcmyk(69.8%, 77.2%, 0%, 36.5%)
CIE-LABlab(25.52, 44.19, -64.92)
CIE-LCHlch(25.52, 78.53, 304.24°)
OKLaboklab(37.72% 0.0217 -0.1876)
OKLCHoklch(37.72% 0.189 276.6)
XYZxyz(8.4476, 4.5840, 34.6150)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3125A2 #96A225
analogous
#2558A2 #3125A2 #7025A2
triadic
#3125A2 #A23125 #25A231
tetradic
#3125A2 #A22558 #96A225 #25A270
square
#3125A2 #A22558 #96A225 #25A270
split-complementary
#3125A2 #A27025 #58A225
monochromatic
#130E3E #221A70 #3125A2 #4334D1 #7165DC

Accessibility & contrast

On white

10.95
#3125A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3125A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3125A2
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3125A2#FFFFFF#000000##FFFFFF
##3125A21.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A6
Deuteranopia (green-blind)
#0037A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3125a2;
/* rgb */ color: rgb(49, 37, 162);
/* oklch */ color: oklch(37.7% 0.189 276.6);
Tailwind
colors: {
  custom: {
    50: '#7a62bf',
    500: '#3125a2',
    950: '#000000',
  },
}
SCSS
$custom: #3125a2;
$custom-light: #7a62bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3125a2",
  "rgb": {
    "r": 49,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 245.76,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37719,
    "c": 0.18889,
    "h": 276.6
  },
  "luminance": 0.04585
}

Semantic roles & 50–950 ramp

primary
#3125A2
secondary
#B8C261
accent
#E642D6
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3125A2

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

Preview Lab → · Contrast checker → · Palette generator →

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