#123575#123575

#123575 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.5% C 0.117 H 261.2°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#123575
RGBrgb(18, 53, 117)
HSLhsl(219, 73%, 26%)
HSVhsv(219, 85%, 46%)
CMYKcmyk(84.6%, 54.7%, 0%, 54.1%)
CIE-LABlab(23.53, 13.54, -40.25)
CIE-LCHlch(23.53, 42.46, 288.59°)
OKLaboklab(34.54% -0.0179 -0.116)
OKLCHoklch(34.54% 0.117 261.2)
XYZxyz(4.7323, 3.9586, 17.3408)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123575 #755212
analogous
#126775 #123575 #211275
triadic
#123575 #751235 #357512
tetradic
#123575 #751267 #755212 #127521
square
#123575 #751267 #755212 #127521
split-complementary
#123575 #752112 #677512
monochromatic
#040C1B #0A1D40 #123575 #1A4DAA #2466DD

Accessibility & contrast

On white

11.72
#123575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#123575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123575
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123575#FFFFFF#000000##FFFFFF
##1235751.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063D77
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123575;
/* rgb */ color: rgb(18, 53, 117);
/* oklch */ color: oklch(34.5% 0.117 261.2);
Tailwind
colors: {
  custom: {
    50: '#626b9d',
    500: '#123575',
    950: '#000000',
  },
}
SCSS
$custom: #123575;
$custom-light: #626b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#123575",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 117
  },
  "hsl": {
    "h": 218.788,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34539,
    "c": 0.11738,
    "h": 261.2
  },
  "luminance": 0.03959
}

Semantic roles & 50–950 ramp

primary
#123575
secondary
#AC8237
accent
#AF38F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123575

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

Preview Lab → · Contrast checker → · Palette generator →

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