#3125A8#3125A8

#3125A8 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.4% C 0.196 H 275.9°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#3125A8
RGBrgb(49, 37, 168)
HSLhsl(245, 64%, 40%)
HSVhsv(245, 78%, 66%)
CMYKcmyk(70.8%, 78%, 0%, 34.1%)
CIE-LABlab(26.16, 46.10, -67.48)
CIE-LCHlch(26.16, 81.73, 304.34°)
OKLaboklab(38.37% 0.0203 -0.1951)
OKLCHoklch(38.37% 0.196 275.9)
XYZxyz(8.9938, 4.8024, 37.4912)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3125A8 #9CA825
analogous
#255BA8 #3125A8 #7225A8
triadic
#3125A8 #A83125 #25A831
tetradic
#3125A8 #A8255B #9CA825 #25A872
square
#3125A8 #A8255B #9CA825 #25A872
split-complementary
#3125A8 #A87225 #5BA825
monochromatic
#140F44 #221A76 #3125A8 #4537D3 #7469DE

Accessibility & contrast

On white

10.71
#3125A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3125A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3125A8
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3125A8#FFFFFF#000000##FFFFFF
##3125A81.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3125a8;
/* rgb */ color: rgb(49, 37, 168);
/* oklch */ color: oklch(38.4% 0.196 275.9);
Tailwind
colors: {
  custom: {
    50: '#7c63c3',
    500: '#3125a8',
    950: '#000000',
  },
}
SCSS
$custom: #3125a8;
$custom-light: #7c63c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3125a8",
  "rgb": {
    "r": 49,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 245.496,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38367,
    "c": 0.19614,
    "h": 275.9
  },
  "luminance": 0.04803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3125A8

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

Preview Lab → · Contrast checker → · Palette generator →

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