#123267#123267

#123267 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.101 H 260.0°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#123267
RGBrgb(18, 50, 103)
HSLhsl(217, 70%, 24%)
HSVhsv(217, 83%, 40%)
CMYKcmyk(82.5%, 51.5%, 0%, 59.6%)
CIE-LABlab(21.54, 9.73, -34.47)
CIE-LCHlch(21.54, 35.81, 285.76°)
OKLaboklab(32.67% -0.0174 -0.0991)
OKLCHoklch(32.67% 0.101 260)
XYZxyz(3.8373, 3.3886, 13.2812)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123267 #674712
analogous
#125C67 #123267 #1C1267
triadic
#123267 #671232 #326712
tetradic
#123267 #67125C #674712 #12671C
square
#123267 #67125C #674712 #12671C
split-complementary
#123267 #671C12 #5C6712
monochromatic
#050D1A #091933 #123267 #1B4B9B #2465CF

Accessibility & contrast

On white

12.52
#123267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#123267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123267
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123267#FFFFFF#000000##FFFFFF
##1232671.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133869
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#003F47
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123267;
/* rgb */ color: rgb(18, 50, 103);
/* oklch */ color: oklch(32.7% 0.101 260.0);
Tailwind
colors: {
  custom: {
    50: '#5f6993',
    500: '#123267',
    950: '#000000',
  },
}
SCSS
$custom: #123267;
$custom-light: #5f6993;
$custom-dark: #000000;
JSON
{
  "hex": "#123267",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 103
  },
  "hsl": {
    "h": 217.412,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32673,
    "c": 0.1006,
    "h": 260
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#123267
secondary
#9F7736
accent
#AA3BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #123267

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

Preview Lab → · Contrast checker → · Palette generator →

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