#3123BC#3123BC

#3123BC is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.4% C 0.221 H 274.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#3123BC
RGBrgb(49, 35, 188)
HSLhsl(245, 69%, 44%)
HSVhsv(245, 81%, 74%)
CMYKcmyk(73.9%, 81.4%, 0%, 26.3%)
CIE-LABlab(28.07, 53.26, -76.28)
CIE-LCHlch(28.07, 93.03, 304.92°)
OKLaboklab(40.35% 0.016 -0.2206)
OKLCHoklch(40.35% 0.221 274.2)
XYZxyz(10.9417, 5.4848, 48.0492)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3123BC #AEBC23
analogous
#2361BC #3123BC #7D23BC
triadic
#3123BC #BC3123 #23BC31
tetradic
#3123BC #BC2361 #AEBC23 #23BC7D
square
#3123BC #BC2361 #AEBC23 #23BC7D
split-complementary
#3123BC #BC7D23 #61BC23
monochromatic
#161055 #241988 #3123BC #4F41DC #7F74E5

Accessibility & contrast

On white

10.01
#3123BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3123BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3123BC#FFFFFF#000000##FFFFFF
##3123BC1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C0
Deuteranopia (green-blind)
#003BB9
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3123bc;
/* rgb */ color: rgb(49, 35, 188);
/* oklch */ color: oklch(40.4% 0.221 274.2);
Tailwind
colors: {
  custom: {
    50: '#8063d2',
    500: '#3123bc',
    950: '#000000',
  },
}
SCSS
$custom: #3123bc;
$custom-light: #8063d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3123bc",
  "rgb": {
    "r": 49,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 245.49,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40354,
    "c": 0.22118,
    "h": 274.2
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#3123BC
secondary
#C4CC6F
accent
#EB3CDB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #3123BC

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

Preview Lab → · Contrast checker → · Palette generator →

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