#3142A9#3142A9

#3142A9 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.165 H 270.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#3142A9
RGBrgb(49, 66, 169)
HSLhsl(232, 55%, 43%)
HSVhsv(232, 71%, 66%)
CMYKcmyk(71%, 60.9%, 0%, 33.7%)
CIE-LABlab(32.73, 28.91, -57.30)
CIE-LCHlch(32.73, 64.18, 296.77°)
OKLaboklab(43.14% 0.0018 -0.1653)
OKLCHoklch(43.14% 0.165 270.6)
XYZxyz(10.3738, 7.4129, 38.4126)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3142A9 #A99831
analogous
#317EA9 #3142A9 #5C31A9
triadic
#3142A9 #A93142 #42A931
tetradic
#3142A9 #A9317E #A99831 #31A95C
square
#3142A9 #A9317E #A99831 #31A95C
split-complementary
#3142A9 #A95C31 #7EA931
monochromatic
#151D4A #232F7A #3142A9 #4C5ECB #7C89D9

Accessibility & contrast

On white

8.46
#3142A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3142A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3142A9
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3142A9#FFFFFF#000000##FFFFFF
##3142A91.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3142a9;
/* rgb */ color: rgb(49, 66, 169);
/* oklch */ color: oklch(43.1% 0.165 270.6);
Tailwind
colors: {
  custom: {
    50: '#7976c3',
    500: '#3142a9',
    950: '#000000',
  },
}
SCSS
$custom: #3142a9;
$custom-light: #7976c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3142a9",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 169
  },
  "hsl": {
    "h": 231.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43138,
    "c": 0.16534,
    "h": 270.6
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#3142A9
secondary
#C1B774
accent
#C949DE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #3142A9

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

Preview Lab → · Contrast checker → · Palette generator →

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