#123060#123060

#123060 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.093 H 259.5°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#123060
RGBrgb(18, 48, 96)
HSLhsl(217, 68%, 22%)
HSVhsv(217, 81%, 38%)
CMYKcmyk(81.3%, 50%, 0%, 62.4%)
CIE-LABlab(20.39, 8.18, -31.75)
CIE-LCHlch(20.39, 32.78, 284.45°)
OKLaboklab(31.62% -0.0169 -0.0911)
OKLCHoklch(31.62% 0.093 259.5)
XYZxyz(3.4170, 3.0866, 11.4798)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123060 #604212
analogous
#125760 #123060 #1B1260
triadic
#123060 #601230 #306012
tetradic
#123060 #601257 #604212 #12601B
square
#123060 #601257 #604212 #12601B
split-complementary
#123060 #601B12 #576012
monochromatic
#050D1A #08162C #123060 #1C4A94 #2564C7

Accessibility & contrast

On white

12.98
#123060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#123060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123060
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123060#FFFFFF#000000##FFFFFF
##1230601.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163562
Deuteranopia (green-blind)
#032E5F
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #123060;
/* rgb */ color: rgb(18, 48, 96);
/* oklch */ color: oklch(31.6% 0.093 259.5);
Tailwind
colors: {
  custom: {
    50: '#5d678d',
    500: '#123060',
    950: '#000000',
  },
}
SCSS
$custom: #123060;
$custom-light: #5d678d;
$custom-dark: #000000;
JSON
{
  "hex": "#123060",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 96
  },
  "hsl": {
    "h": 216.923,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31625,
    "c": 0.09266,
    "h": 259.5
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#123060
secondary
#987236
accent
#A83DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #123060

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

Preview Lab → · Contrast checker → · Palette generator →

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