#3123BB#3123BB

#3123BB is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.2% C 0.220 H 274.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#3123BB
RGBrgb(49, 35, 187)
HSLhsl(246, 68%, 44%)
HSVhsv(246, 81%, 73%)
CMYKcmyk(73.8%, 81.3%, 0%, 26.7%)
CIE-LABlab(27.96, 52.96, -75.88)
CIE-LCHlch(27.96, 92.53, 304.91°)
OKLaboklab(40.24% 0.0163 -0.2194)
OKLCHoklch(40.24% 0.22 274.2)
XYZxyz(10.8343, 5.4418, 47.4835)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3123BB #ADBB23
analogous
#2361BB #3123BB #7D23BB
triadic
#3123BB #BB3123 #23BB31
tetradic
#3123BB #BB2361 #ADBB23 #23BB7D
square
#3123BB #BB2361 #ADBB23 #23BB7D
split-complementary
#3123BB #BB7D23 #61BB23
monochromatic
#161054 #231987 #3123BB #4E40DB #7E74E5

Accessibility & contrast

On white

10.05
#3123BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3123BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3123BB#FFFFFF#000000##FFFFFF
##3123BB1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BF
Deuteranopia (green-blind)
#003BB8
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3123bb;
/* rgb */ color: rgb(49, 35, 187);
/* oklch */ color: oklch(40.2% 0.220 274.2);
Tailwind
colors: {
  custom: {
    50: '#8063d1',
    500: '#3123bb',
    950: '#000000',
  },
}
SCSS
$custom: #3123bb;
$custom-light: #8063d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3123bb",
  "rgb": {
    "r": 49,
    "g": 35,
    "b": 187
  },
  "hsl": {
    "h": 245.526,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4024,
    "c": 0.22004,
    "h": 274.2
  },
  "luminance": 0.05443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3123BB

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

Preview Lab → · Contrast checker → · Palette generator →

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