#123365#123365

#123365 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.096 H 258.8°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#123365
RGBrgb(18, 51, 101)
HSLhsl(216, 70%, 23%)
HSVhsv(216, 82%, 40%)
CMYKcmyk(82.2%, 49.5%, 0%, 60.4%)
CIE-LABlab(21.71, 8.15, -32.89)
CIE-LCHlch(21.71, 33.88, 283.92°)
OKLaboklab(32.76% -0.0187 -0.0944)
OKLCHoklch(32.76% 0.096 258.8)
XYZxyz(3.7814, 3.4354, 12.7732)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123365 #654412
analogous
#125C65 #123365 #1B1265
triadic
#123365 #651233 #336512
tetradic
#123365 #65125C #654412 #12651B
square
#123365 #65125C #654412 #12651B
split-complementary
#123365 #651B12 #5C6512
monochromatic
#050D1A #091931 #123365 #1B4D99 #2567CD

Accessibility & contrast

On white

12.45
#123365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#123365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123365
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123365#FFFFFF#000000##FFFFFF
##1233651.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #123365;
/* rgb */ color: rgb(18, 51, 101);
/* oklch */ color: oklch(32.8% 0.096 258.8);
Tailwind
colors: {
  custom: {
    50: '#5e6a91',
    500: '#123365',
    950: '#000000',
  },
}
SCSS
$custom: #123365;
$custom-light: #5e6a91;
$custom-dark: #000000;
JSON
{
  "hex": "#123365",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 101
  },
  "hsl": {
    "h": 216.145,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32758,
    "c": 0.09625,
    "h": 258.8
  },
  "luminance": 0.03436
}

Semantic roles & 50–950 ramp

primary
#123365
secondary
#9D7436
accent
#A63BED
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060D
muted
#797A7D

Preview Lab

Preview with #123365

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

Preview Lab → · Contrast checker → · Palette generator →

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