#3123AF#3123AF

#3123AF is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.9% C 0.206 H 275.4°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#3123AF
RGBrgb(49, 35, 175)
HSLhsl(246, 67%, 41%)
HSVhsv(246, 80%, 69%)
CMYKcmyk(72%, 80%, 0%, 31.4%)
CIE-LABlab(26.59, 49.30, -70.99)
CIE-LCHlch(26.59, 86.43, 304.78°)
OKLaboklab(38.89% 0.0194 -0.2053)
OKLCHoklch(38.89% 0.206 275.4)
XYZxyz(9.6030, 4.9492, 40.9983)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3123AF #A1AF23
analogous
#235BAF #3123AF #7723AF
triadic
#3123AF #AF3123 #23AF31
tetradic
#3123AF #AF235B #A1AF23 #23AF77
square
#3123AF #AF235B #A1AF23 #23AF77
split-complementary
#3123AF #AF7723 #5BAF23
monochromatic
#140F49 #23197C #3123AF #4838D7 #776BE1

Accessibility & contrast

On white

10.55
#3123AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3123AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3123AF
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3123AF#FFFFFF#000000##FFFFFF
##3123AF1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3123af;
/* rgb */ color: rgb(49, 35, 175);
/* oklch */ color: oklch(38.9% 0.206 275.4);
Tailwind
colors: {
  custom: {
    50: '#7d62c8',
    500: '#3123af',
    950: '#000000',
  },
}
SCSS
$custom: #3123af;
$custom-light: #7d62c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3123af",
  "rgb": {
    "r": 49,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 246,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38892,
    "c": 0.20617,
    "h": 275.4
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

primary
#3123AF
secondary
#BEC766
accent
#EA3ED8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3123AF

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

Preview Lab → · Contrast checker → · Palette generator →

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