#123367#123367

#123367 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 32.9% C 0.099 H 259.4°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#123367
RGBrgb(18, 51, 103)
HSLhsl(217, 70%, 24%)
HSVhsv(217, 83%, 40%)
CMYKcmyk(82.5%, 50.5%, 0%, 59.6%)
CIE-LABlab(21.85, 9.01, -33.96)
CIE-LCHlch(21.85, 35.13, 284.85°)
OKLaboklab(32.92% -0.0183 -0.0975)
OKLCHoklch(32.92% 0.099 259.4)
XYZxyz(3.8806, 3.4751, 13.2956)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123367 #674612
analogous
#125D67 #123367 #1B1267
triadic
#123367 #671233 #336712
tetradic
#123367 #67125D #674612 #12671B
square
#123367 #67125D #674612 #12671B
split-complementary
#123367 #671B12 #5D6712
monochromatic
#050D1A #091933 #123367 #1B4D9B #2467CF

Accessibility & contrast

On white

12.39
#123367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#123367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123367
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123367#FFFFFF#000000##FFFFFF
##1233671.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163869
Deuteranopia (green-blind)
#003166
Tritanopia (blue-blind)
#003F48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123367;
/* rgb */ color: rgb(18, 51, 103);
/* oklch */ color: oklch(32.9% 0.099 259.4);
Tailwind
colors: {
  custom: {
    50: '#5f6a93',
    500: '#123367',
    950: '#000000',
  },
}
SCSS
$custom: #123367;
$custom-light: #5f6a93;
$custom-dark: #000000;
JSON
{
  "hex": "#123367",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 103
  },
  "hsl": {
    "h": 216.706,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32916,
    "c": 0.09926,
    "h": 259.4
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#123367
secondary
#9F7636
accent
#A83BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #123367

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

Preview Lab → · Contrast checker → · Palette generator →

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