#3123D4#3123D4

#3123D4 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 43.1% C 0.248 H 272.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#3123D4
RGBrgb(49, 35, 212)
HSLhsl(245, 72%, 48%)
HSVhsv(245, 83%, 83%)
CMYKcmyk(76.9%, 83.5%, 0%, 16.9%)
CIE-LABlab(30.89, 60.33, -85.65)
CIE-LCHlch(30.89, 104.76, 305.16°)
OKLaboklab(43.11% 0.0098 -0.2477)
OKLCHoklch(43.11% 0.248 272.3)
XYZxyz(13.7473, 6.6070, 62.8253)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3123D4 #C6D423
analogous
#236DD4 #3123D4 #8923D4
triadic
#3123D4 #D43123 #23D431
tetradic
#3123D4 #D4236D #C6D423 #23D489
square
#3123D4 #D4236D #C6D423 #23D489
split-complementary
#3123D4 #D48923 #6DD423
monochromatic
#19126B #251A9F #3123D4 #5D52E2 #8E86EB

Accessibility & contrast

On white

9.05
#3123D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3123D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3123D4
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3123D4#FFFFFF#000000##FFFFFF
##3123D41.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051D9
Deuteranopia (green-blind)
#0040D1
Tritanopia (blue-blind)
#005D7F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3123d4;
/* rgb */ color: rgb(49, 35, 212);
/* oklch */ color: oklch(43.1% 0.248 272.3);
Tailwind
colors: {
  custom: {
    50: '#8665e3',
    500: '#3123d4',
    950: '#000000',
  },
}
SCSS
$custom: #3123d4;
$custom-light: #8665e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3123d4",
  "rgb": {
    "r": 49,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 244.746,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43112,
    "c": 0.24794,
    "h": 272.3
  },
  "luminance": 0.06608
}

Semantic roles & 50–950 ramp

primary
#3123D4
secondary
#CED47E
accent
#EE39E0
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #3123D4

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

Preview Lab → · Contrast checker → · Palette generator →

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