#123361#123361

#123361 is a dark, moderate cyan. Relative luminance 0.034; OKLCH L 32.5% C 0.090 H 257.5°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#123361
RGBrgb(18, 51, 97)
HSLhsl(215, 69%, 23%)
HSVhsv(215, 81%, 38%)
CMYKcmyk(81.4%, 47.4%, 0%, 62%)
CIE-LABlab(21.43, 6.44, -30.73)
CIE-LCHlch(21.43, 31.40, 281.83°)
OKLaboklab(32.45% -0.0195 -0.0881)
OKLCHoklch(32.45% 0.09 257.5)
XYZxyz(3.5902, 3.3589, 11.7661)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123361 #614012
analogous
#125A61 #123361 #191261
triadic
#123361 #611233 #336112
tetradic
#123361 #61125A #614012 #126119
square
#123361 #61125A #614012 #126119
split-complementary
#123361 #611912 #5A6112
monochromatic
#050E1A #08182D #123361 #1C4E95 #2569C8

Accessibility & contrast

On white

12.56
#123361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#123361 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123361
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123361#FFFFFF#000000##FFFFFF
##1233611.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3763
Deuteranopia (green-blind)
#0B3060
Tritanopia (blue-blind)
#003E45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123361;
/* rgb */ color: rgb(18, 51, 97);
/* oklch */ color: oklch(32.5% 0.090 257.5);
Tailwind
colors: {
  custom: {
    50: '#5d6a8e',
    500: '#123361',
    950: '#000000',
  },
}
SCSS
$custom: #123361;
$custom-light: #5d6a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#123361",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 97
  },
  "hsl": {
    "h": 214.937,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3245,
    "c": 0.0902,
    "h": 257.5
  },
  "luminance": 0.03359
}

Semantic roles & 50–950 ramp

primary
#123361
secondary
#997036
accent
#A23CEC
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #123361

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

Preview Lab → · Contrast checker → · Palette generator →

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