#123470#123470

#123470 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.9% C 0.111 H 260.8°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#123470
RGBrgb(18, 52, 112)
HSLhsl(218, 72%, 25%)
HSVhsv(218, 84%, 44%)
CMYKcmyk(83.9%, 53.6%, 0%, 56.1%)
CIE-LABlab(22.84, 12.13, -38.17)
CIE-LCHlch(22.84, 40.05, 287.63°)
OKLaboklab(33.89% -0.0178 -0.1099)
OKLCHoklch(33.89% 0.111 260.8)
XYZxyz(4.4010, 3.7539, 15.8187)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123470 #704E12
analogous
#126370 #123470 #1F1270
triadic
#123470 #701234 #347012
tetradic
#123470 #701263 #704E12 #12701F
square
#123470 #701263 #704E12 #12701F
split-complementary
#123470 #701F12 #637012
monochromatic
#040C1A #0A1C3B #123470 #1A4CA5 #2365D9

Accessibility & contrast

On white

11.99
#123470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#123470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123470
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123470#FFFFFF#000000##FFFFFF
##1234701.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3B72
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123470;
/* rgb */ color: rgb(18, 52, 112);
/* oklch */ color: oklch(33.9% 0.111 260.8);
Tailwind
colors: {
  custom: {
    50: '#616a9a',
    500: '#123470',
    950: '#000000',
  },
}
SCSS
$custom: #123470;
$custom-light: #616a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#123470",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 112
  },
  "hsl": {
    "h": 218.298,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33887,
    "c": 0.11136,
    "h": 260.8
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#123470
secondary
#A77E37
accent
#AD39EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123470

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

Preview Lab → · Contrast checker → · Palette generator →

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