#3124A7#3124A7

#3124A7 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.1% C 0.196 H 276.2°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#3124A7
RGBrgb(49, 36, 167)
HSLhsl(246, 65%, 40%)
HSVhsv(246, 78%, 65%)
CMYKcmyk(70.7%, 78.4%, 0%, 34.5%)
CIE-LABlab(25.87, 46.31, -67.36)
CIE-LCHlch(25.87, 81.74, 304.51°)
OKLaboklab(38.13% 0.021 -0.1947)
OKLCHoklch(38.13% 0.196 276.2)
XYZxyz(8.8703, 4.7039, 36.9922)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3124A7 #9AA724
analogous
#2459A7 #3124A7 #7224A7
triadic
#3124A7 #A73124 #24A731
tetradic
#3124A7 #A72459 #9AA724 #24A772
square
#3124A7 #A72459 #9AA724 #24A772
split-complementary
#3124A7 #A77224 #59A724
monochromatic
#130E42 #221975 #3124A7 #4535D3 #7367DE

Accessibility & contrast

On white

10.82
#3124A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3124A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3124A7
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3124A7#FFFFFF#000000##FFFFFF
##3124A71.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#0037A5
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3124a7;
/* rgb */ color: rgb(49, 36, 167);
/* oklch */ color: oklch(38.1% 0.196 276.2);
Tailwind
colors: {
  custom: {
    50: '#7b62c2',
    500: '#3124a7',
    950: '#000000',
  },
}
SCSS
$custom: #3124a7;
$custom-light: #7b62c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3124a7",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 245.954,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38131,
    "c": 0.19585,
    "h": 276.2
  },
  "luminance": 0.04705
}

Semantic roles & 50–950 ramp

primary
#3124A7
secondary
#BAC463
accent
#E840D7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3124A7

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

Preview Lab → · Contrast checker → · Palette generator →

#3124A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva