#123870#123870

#123870 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.106 H 258.5°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#123870
RGBrgb(18, 56, 112)
HSLhsl(216, 72%, 25%)
HSVhsv(216, 84%, 44%)
CMYKcmyk(83.9%, 50%, 0%, 56.1%)
CIE-LABlab(24.08, 9.27, -36.17)
CIE-LCHlch(24.08, 37.33, 284.37°)
OKLaboklab(34.84% -0.0211 -0.1039)
OKLCHoklch(34.84% 0.106 258.5)
XYZxyz(4.5872, 4.1262, 15.8808)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123870 #704A12
analogous
#126770 #123870 #1B1270
triadic
#123870 #701238 #387012
tetradic
#123870 #701267 #704A12 #12701B
square
#123870 #701267 #704A12 #12701B
split-complementary
#123870 #701B12 #677012
monochromatic
#040D1A #0A1E3B #123870 #1A52A5 #236DD9

Accessibility & contrast

On white

11.50
#123870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#123870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123870
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123870#FFFFFF#000000##FFFFFF
##1238701.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E72
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123870;
/* rgb */ color: rgb(18, 56, 112);
/* oklch */ color: oklch(34.8% 0.106 258.5);
Tailwind
colors: {
  custom: {
    50: '#616e99',
    500: '#123870',
    950: '#000000',
  },
}
SCSS
$custom: #123870;
$custom-light: #616e99;
$custom-dark: #000000;
JSON
{
  "hex": "#123870",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 112
  },
  "hsl": {
    "h": 215.745,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3484,
    "c": 0.10606,
    "h": 258.5
  },
  "luminance": 0.04127
}

Semantic roles & 50–950 ramp

primary
#123870
secondary
#A77A37
accent
#A539EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123870

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

Preview Lab → · Contrast checker → · Palette generator →

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