#123160#123160

#123160 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.9% C 0.091 H 258.7°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#123160
RGBrgb(18, 49, 96)
HSLhsl(216, 68%, 22%)
HSVhsv(216, 81%, 38%)
CMYKcmyk(81.3%, 49%, 0%, 62.4%)
CIE-LABlab(20.71, 7.45, -31.23)
CIE-LCHlch(20.71, 32.10, 283.42°)
OKLaboklab(31.87% -0.0178 -0.0896)
OKLCHoklch(31.87% 0.091 258.7)
XYZxyz(3.4583, 3.1694, 11.4935)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123160 #604112
analogous
#125860 #123160 #1A1260
triadic
#123160 #601231 #316012
tetradic
#123160 #601258 #604112 #12601A
square
#123160 #601258 #604112 #12601A
split-complementary
#123160 #601A12 #586012
monochromatic
#050D1A #08172C #123160 #1C4B94 #2566C7

Accessibility & contrast

On white

12.85
#123160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#123160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123160
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123160#FFFFFF#000000##FFFFFF
##1231601.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183662
Deuteranopia (green-blind)
#072F5F
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #123160;
/* rgb */ color: rgb(18, 49, 96);
/* oklch */ color: oklch(31.9% 0.091 258.7);
Tailwind
colors: {
  custom: {
    50: '#5d688d',
    500: '#123160',
    950: '#000000',
  },
}
SCSS
$custom: #123160;
$custom-light: #5d688d;
$custom-dark: #000000;
JSON
{
  "hex": "#123160",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 96
  },
  "hsl": {
    "h": 216.154,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31873,
    "c": 0.09132,
    "h": 258.7
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#123160
secondary
#987136
accent
#A63DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #123160

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

Preview Lab → · Contrast checker → · Palette generator →

#123160 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva