#3123AE#3123AE

#3123AE is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.8% C 0.205 H 275.5°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#3123AE
RGBrgb(49, 35, 174)
HSLhsl(246, 67%, 41%)
HSVhsv(246, 80%, 68%)
CMYKcmyk(71.8%, 79.9%, 0%, 31.8%)
CIE-LABlab(26.48, 48.99, -70.58)
CIE-LCHlch(26.48, 85.92, 304.77°)
OKLaboklab(38.78% 0.0197 -0.2041)
OKLCHoklch(38.78% 0.205 275.5)
XYZxyz(9.5051, 4.9101, 40.4830)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3123AE #A0AE23
analogous
#235AAE #3123AE #7623AE
triadic
#3123AE #AE3123 #23AE31
tetradic
#3123AE #AE235A #A0AE23 #23AE76
square
#3123AE #AE235A #A0AE23 #23AE76
split-complementary
#3123AE #AE7623 #5AAE23
monochromatic
#140F48 #23197B #3123AE #4737D7 #766AE1

Accessibility & contrast

On white

10.59
#3123AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3123AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3123AE#FFFFFF#000000##FFFFFF
##3123AE1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3123ae;
/* rgb */ color: rgb(49, 35, 174);
/* oklch */ color: oklch(38.8% 0.205 275.5);
Tailwind
colors: {
  custom: {
    50: '#7d62c8',
    500: '#3123ae',
    950: '#000000',
  },
}
SCSS
$custom: #3123ae;
$custom-light: #7d62c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3123ae",
  "rgb": {
    "r": 49,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 246.043,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38781,
    "c": 0.205,
    "h": 275.5
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#3123AE
secondary
#BDC766
accent
#E93ED8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3123AE

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

Preview Lab → · Contrast checker → · Palette generator →

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