#123B80#123B80

#123B80 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.8% C 0.125 H 260.3°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#123B80
RGBrgb(18, 59, 128)
HSLhsl(218, 75%, 29%)
HSVhsv(218, 86%, 50%)
CMYKcmyk(85.9%, 53.9%, 0%, 49.8%)
CIE-LABlab(26.20, 13.91, -42.88)
CIE-LCHlch(26.20, 45.08, 287.98°)
OKLaboklab(36.84% -0.021 -0.1236)
OKLCHoklch(36.84% 0.125 260.3)
XYZxyz(5.7083, 4.8143, 21.0463)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B80 #805712
analogous
#127280 #123B80 #201280
triadic
#123B80 #80123B #3B8012
tetradic
#123B80 #801272 #805712 #128020
square
#123B80 #801272 #805712 #128020
split-complementary
#123B80 #802012 #728012
monochromatic
#040C1B #0A224A #123B80 #1A54B6 #2B6FE1

Accessibility & contrast

On white

10.70
#123B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#123B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B80
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B80#FFFFFF#000000##FFFFFF
##123B801.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094382
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #123b80;
/* rgb */ color: rgb(18, 59, 128);
/* oklch */ color: oklch(36.8% 0.125 260.3);
Tailwind
colors: {
  custom: {
    50: '#6570a5',
    500: '#123b80',
    950: '#000000',
  },
}
SCSS
$custom: #123b80;
$custom-light: #6570a5;
$custom-dark: #000000;
JSON
{
  "hex": "#123b80",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 128
  },
  "hsl": {
    "h": 217.636,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36841,
    "c": 0.12541,
    "h": 260.3
  },
  "luminance": 0.04815
}

Semantic roles & 50–950 ramp

primary
#123B80
secondary
#B68738
accent
#AC36F2
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #123B80

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

Preview Lab → · Contrast checker → · Palette generator →

#123B80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva