#3123AA#3123AA

#3123AA is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.3% C 0.200 H 275.9°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#3123AA
RGBrgb(49, 35, 170)
HSLhsl(246, 66%, 40%)
HSVhsv(246, 79%, 67%)
CMYKcmyk(71.2%, 79.4%, 0%, 33.3%)
CIE-LABlab(26.03, 47.75, -68.91)
CIE-LCHlch(26.03, 83.84, 304.72°)
OKLaboklab(38.34% 0.0207 -0.1992)
OKLCHoklch(38.34% 0.2 275.9)
XYZxyz(9.1210, 4.7564, 38.4598)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3123AA #9CAA23
analogous
#2359AA #3123AA #7423AA
triadic
#3123AA #AA3123 #23AA31
tetradic
#3123AA #AA2359 #9CAA23 #23AA74
square
#3123AA #AA2359 #9CAA23 #23AA74
split-complementary
#3123AA #AA7423 #59AA23
monochromatic
#140E44 #221977 #3123AA #4535D5 #7468E0

Accessibility & contrast

On white

10.76
#3123AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3123AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3123AA#FFFFFF#000000##FFFFFF
##3123AA1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3123aa;
/* rgb */ color: rgb(49, 35, 170);
/* oklch */ color: oklch(38.3% 0.200 275.9);
Tailwind
colors: {
  custom: {
    50: '#7c62c5',
    500: '#3123aa',
    950: '#000000',
  },
}
SCSS
$custom: #3123aa;
$custom-light: #7c62c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3123aa",
  "rgb": {
    "r": 49,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 246.222,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38337,
    "c": 0.20029,
    "h": 275.9
  },
  "luminance": 0.04757
}

Semantic roles & 50–950 ramp

primary
#3123AA
secondary
#BBC663
accent
#E93FD7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3123AA

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

Preview Lab → · Contrast checker → · Palette generator →

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