#123475#123475

#123475 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.119 H 261.7°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#123475
RGBrgb(18, 52, 117)
HSLhsl(219, 73%, 26%)
HSVhsv(219, 85%, 46%)
CMYKcmyk(84.6%, 55.6%, 0%, 54.1%)
CIE-LABlab(23.23, 14.25, -40.74)
CIE-LCHlch(23.23, 43.16, 289.29°)
OKLaboklab(34.31% -0.0171 -0.1175)
OKLCHoklch(34.31% 0.119 261.7)
XYZxyz(4.6872, 3.8684, 17.3258)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123475 #755312
analogous
#126675 #123475 #221275
triadic
#123475 #751234 #347512
tetradic
#123475 #751266 #755312 #127522
square
#123475 #751266 #755312 #127522
split-complementary
#123475 #752212 #667512
monochromatic
#040C1B #0A1C40 #123475 #1A4CAA #2464DD

Accessibility & contrast

On white

11.84
#123475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#123475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123475
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123475#FFFFFF#000000##FFFFFF
##1234751.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023C77
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123475;
/* rgb */ color: rgb(18, 52, 117);
/* oklch */ color: oklch(34.3% 0.119 261.7);
Tailwind
colors: {
  custom: {
    50: '#636a9d',
    500: '#123475',
    950: '#000000',
  },
}
SCSS
$custom: #123475;
$custom-light: #636a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#123475",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 117
  },
  "hsl": {
    "h": 219.394,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34309,
    "c": 0.11872,
    "h": 261.7
  },
  "luminance": 0.03869
}

Semantic roles & 50–950 ramp

primary
#123475
secondary
#AC8437
accent
#B138F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123475

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

Preview Lab → · Contrast checker → · Palette generator →

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