#3123B0#3123B0

#3123B0 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.0% C 0.207 H 275.3°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#3123B0
RGBrgb(49, 35, 176)
HSLhsl(246, 67%, 41%)
HSVhsv(246, 80%, 69%)
CMYKcmyk(72.2%, 80.1%, 0%, 31%)
CIE-LABlab(26.70, 49.61, -71.40)
CIE-LCHlch(26.70, 86.94, 304.79°)
OKLaboklab(39% 0.0191 -0.2065)
OKLCHoklch(39% 0.207 275.3)
XYZxyz(9.7015, 4.9887, 41.5175)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3123B0 #A2B023
analogous
#235CB0 #3123B0 #7823B0
triadic
#3123B0 #B03123 #23B031
tetradic
#3123B0 #B0235C #A2B023 #23B078
square
#3123B0 #B0235C #A2B023 #23B078
split-complementary
#3123B0 #B07823 #5CB023
monochromatic
#150F4A #23197D #3123B0 #4839D8 #776CE2

Accessibility & contrast

On white

10.51
#3123B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3123B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3123B0#FFFFFF#000000##FFFFFF
##3123B01.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B4
Deuteranopia (green-blind)
#0039AE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3123b0;
/* rgb */ color: rgb(49, 35, 176);
/* oklch */ color: oklch(39.0% 0.207 275.3);
Tailwind
colors: {
  custom: {
    50: '#7e62c9',
    500: '#3123b0',
    950: '#000000',
  },
}
SCSS
$custom: #3123b0;
$custom-light: #7e62c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3123b0",
  "rgb": {
    "r": 49,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 245.957,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39003,
    "c": 0.20735,
    "h": 275.3
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#3123B0
secondary
#BEC867
accent
#EA3ED9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3123B0

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

Preview Lab → · Contrast checker → · Palette generator →

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