#3123A3#3123A3

#3123A3 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.192 H 276.7°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#3123A3
RGBrgb(49, 35, 163)
HSLhsl(247, 65%, 39%)
HSVhsv(247, 79%, 64%)
CMYKcmyk(69.9%, 78.5%, 0%, 36.1%)
CIE-LABlab(25.26, 45.56, -65.96)
CIE-LCHlch(25.26, 80.16, 304.64°)
OKLaboklab(37.57% 0.0225 -0.1906)
OKLCHoklch(37.57% 0.192 276.7)
XYZxyz(8.4764, 4.4986, 35.0648)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3123A3 #95A323
analogous
#2355A3 #3123A3 #7123A3
triadic
#3123A3 #A33123 #23A331
tetradic
#3123A3 #A32355 #95A323 #23A371
square
#3123A3 #A32355 #95A323 #23A371
split-complementary
#3123A3 #A37123 #55A323
monochromatic
#130D3E #221871 #3123A3 #4231D3 #7063DD

Accessibility & contrast

On white

11.05
#3123A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3123A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3123A3
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3123A3#FFFFFF#000000##FFFFFF
##3123A31.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3123a3;
/* rgb */ color: rgb(49, 35, 163);
/* oklch */ color: oklch(37.6% 0.192 276.7);
Tailwind
colors: {
  custom: {
    50: '#7b61c0',
    500: '#3123a3',
    950: '#000000',
  },
}
SCSS
$custom: #3123a3;
$custom-light: #7b61c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3123a3",
  "rgb": {
    "r": 49,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 246.563,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37569,
    "c": 0.19195,
    "h": 276.7
  },
  "luminance": 0.04499
}

Semantic roles & 50–950 ramp

primary
#3123A3
secondary
#B8C35F
accent
#E840D5
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3123A3

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

Preview Lab → · Contrast checker → · Palette generator →

#3123A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva