#123167#123167

#123167 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.102 H 260.6°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#123167
RGBrgb(18, 49, 103)
HSLhsl(218, 70%, 24%)
HSVhsv(218, 83%, 40%)
CMYKcmyk(82.5%, 52.4%, 0%, 59.6%)
CIE-LABlab(21.22, 10.45, -34.97)
CIE-LCHlch(21.22, 36.50, 286.64°)
OKLaboklab(32.43% -0.0166 -0.1006)
OKLCHoklch(32.43% 0.102 260.6)
XYZxyz(3.7951, 3.3041, 13.2671)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123167 #674812
analogous
#125B67 #123167 #1D1267
triadic
#123167 #671231 #316712
tetradic
#123167 #67125B #674812 #12671D
square
#123167 #67125B #674812 #12671D
split-complementary
#123167 #671D12 #5B6712
monochromatic
#050C1A #091833 #123167 #1B4A9B #2463CF

Accessibility & contrast

On white

12.64
#123167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#123167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123167
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123167#FFFFFF#000000##FFFFFF
##1231671.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113769
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#003E47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123167;
/* rgb */ color: rgb(18, 49, 103);
/* oklch */ color: oklch(32.4% 0.102 260.6);
Tailwind
colors: {
  custom: {
    50: '#5f6893',
    500: '#123167',
    950: '#000000',
  },
}
SCSS
$custom: #123167;
$custom-light: #5f6893;
$custom-dark: #000000;
JSON
{
  "hex": "#123167",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 103
  },
  "hsl": {
    "h": 218.118,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32431,
    "c": 0.10195,
    "h": 260.6
  },
  "luminance": 0.03304
}

Semantic roles & 50–950 ramp

primary
#123167
secondary
#9F7936
accent
#AC3BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #123167

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

Preview Lab → · Contrast checker → · Palette generator →

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