#3123BD#3123BD

#3123BD is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.5% C 0.222 H 274.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#3123BD
RGBrgb(49, 35, 189)
HSLhsl(245, 69%, 44%)
HSVhsv(245, 81%, 74%)
CMYKcmyk(74.1%, 81.5%, 0%, 25.9%)
CIE-LABlab(28.19, 53.56, -76.68)
CIE-LCHlch(28.19, 93.53, 304.93°)
OKLaboklab(40.47% 0.0158 -0.2218)
OKLCHoklch(40.47% 0.222 274.1)
XYZxyz(11.0499, 5.5280, 48.6189)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3123BD #AFBD23
analogous
#2362BD #3123BD #7E23BD
triadic
#3123BD #BD3123 #23BD31
tetradic
#3123BD #BD2362 #AFBD23 #23BD7E
square
#3123BD #BD2362 #AFBD23 #23BD7E
split-complementary
#3123BD #BD7E23 #62BD23
monochromatic
#161056 #241989 #3123BD #4F41DC #7F75E5

Accessibility & contrast

On white

9.97
#3123BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3123BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3123BD
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3123BD#FFFFFF#000000##FFFFFF
##3123BD1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#003BBA
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3123bd;
/* rgb */ color: rgb(49, 35, 189);
/* oklch */ color: oklch(40.5% 0.222 274.1);
Tailwind
colors: {
  custom: {
    50: '#8163d2',
    500: '#3123bd',
    950: '#000000',
  },
}
SCSS
$custom: #3123bd;
$custom-light: #8163d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3123bd",
  "rgb": {
    "r": 49,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 245.455,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40467,
    "c": 0.22232,
    "h": 274.1
  },
  "luminance": 0.05529
}

Semantic roles & 50–950 ramp

primary
#3123BD
secondary
#C4CD6F
accent
#EC3CDC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #3123BD

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

Preview Lab → · Contrast checker → · Palette generator →

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