#123175#123175

#123175 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.6% C 0.123 H 263.0°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#123175
RGBrgb(18, 49, 117)
HSLhsl(221, 73%, 26%)
HSVhsv(221, 85%, 46%)
CMYKcmyk(84.6%, 58.1%, 0%, 54.1%)
CIE-LABlab(22.33, 16.42, -42.19)
CIE-LCHlch(22.33, 45.27, 291.26°)
OKLaboklab(33.63% -0.0149 -0.1218)
OKLCHoklch(33.63% 0.123 263)
XYZxyz(4.5575, 3.6090, 17.2826)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123175 #755612
analogous
#126375 #123175 #251275
triadic
#123175 #751231 #317512
tetradic
#123175 #751263 #755612 #127525
square
#123175 #751263 #755612 #127525
split-complementary
#123175 #752512 #637512
monochromatic
#040B1B #0A1B40 #123175 #1A47AA #245EDD

Accessibility & contrast

On white

12.20
#123175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#123175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123175
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123175#FFFFFF#000000##FFFFFF
##1231751.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #123175;
/* rgb */ color: rgb(18, 49, 117);
/* oklch */ color: oklch(33.6% 0.123 263.0);
Tailwind
colors: {
  custom: {
    50: '#63689d',
    500: '#123175',
    950: '#000000',
  },
}
SCSS
$custom: #123175;
$custom-light: #63689d;
$custom-dark: #000000;
JSON
{
  "hex": "#123175",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 221.212,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33629,
    "c": 0.12273,
    "h": 263
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#123175
secondary
#AC8737
accent
#B638F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123175

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

Preview Lab → · Contrast checker → · Palette generator →

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