#3123AC#3123AC

#3123AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.6% C 0.203 H 275.7°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#3123AC
RGBrgb(49, 35, 172)
HSLhsl(246, 66%, 41%)
HSVhsv(246, 80%, 67%)
CMYKcmyk(71.5%, 79.7%, 0%, 32.5%)
CIE-LABlab(26.25, 48.37, -69.75)
CIE-LCHlch(26.25, 84.88, 304.74°)
OKLaboklab(38.56% 0.0202 -0.2016)
OKLCHoklch(38.56% 0.203 275.7)
XYZxyz(9.3116, 4.8327, 39.4638)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3123AC #9EAC23
analogous
#235AAC #3123AC #7523AC
triadic
#3123AC #AC3123 #23AC31
tetradic
#3123AC #AC235A #9EAC23 #23AC75
square
#3123AC #AC235A #9EAC23 #23AC75
split-complementary
#3123AC #AC7523 #5AAC23
monochromatic
#140E46 #231979 #3123AC #4636D6 #7569E0

Accessibility & contrast

On white

10.68
#3123AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3123AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3123AC#FFFFFF#000000##FFFFFF
##3123AC1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3123ac;
/* rgb */ color: rgb(49, 35, 172);
/* oklch */ color: oklch(38.6% 0.203 275.7);
Tailwind
colors: {
  custom: {
    50: '#7d62c6',
    500: '#3123ac',
    950: '#000000',
  },
}
SCSS
$custom: #3123ac;
$custom-light: #7d62c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3123ac",
  "rgb": {
    "r": 49,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 246.131,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38558,
    "c": 0.20266,
    "h": 275.7
  },
  "luminance": 0.04834
}

Semantic roles & 50–950 ramp

primary
#3123AC
secondary
#BCC664
accent
#E93FD8
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3123AC

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

Preview Lab → · Contrast checker → · Palette generator →

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