#123362#123362

#123362 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.5% C 0.092 H 257.8°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#123362
RGBrgb(18, 51, 98)
HSLhsl(215, 69%, 23%)
HSVhsv(215, 82%, 38%)
CMYKcmyk(81.6%, 48%, 0%, 61.6%)
CIE-LABlab(21.50, 6.86, -31.27)
CIE-LCHlch(21.50, 32.02, 282.38°)
OKLaboklab(32.53% -0.0193 -0.0896)
OKLCHoklch(32.53% 0.092 257.8)
XYZxyz(3.6371, 3.3777, 12.0132)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123362 #624112
analogous
#125B62 #123362 #191262
triadic
#123362 #621233 #336212
tetradic
#123362 #62125B #624112 #126219
square
#123362 #62125B #624112 #126219
split-complementary
#123362 #621912 #5B6212
monochromatic
#050D1A #09182E #123362 #1B4E96 #2569C9

Accessibility & contrast

On white

12.53
#123362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123362
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123362#FFFFFF#000000##FFFFFF
##1233621.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3764
Deuteranopia (green-blind)
#093061
Tritanopia (blue-blind)
#003E45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123362;
/* rgb */ color: rgb(18, 51, 98);
/* oklch */ color: oklch(32.5% 0.092 257.8);
Tailwind
colors: {
  custom: {
    50: '#5d6a8f',
    500: '#123362',
    950: '#000000',
  },
}
SCSS
$custom: #123362;
$custom-light: #5d6a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#123362",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 98
  },
  "hsl": {
    "h": 215.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32526,
    "c": 0.09171,
    "h": 257.8
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#123362
secondary
#9A7136
accent
#A33CEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #123362

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

Preview Lab → · Contrast checker → · Palette generator →

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