#123662#123662

#123662 is a dark, moderate cyan. Relative luminance 0.036; OKLCH L 33.3% C 0.088 H 255.4°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#123662
RGBrgb(18, 54, 98)
HSLhsl(213, 69%, 23%)
HSVhsv(213, 82%, 38%)
CMYKcmyk(81.6%, 44.9%, 0%, 61.6%)
CIE-LABlab(22.47, 4.72, -29.71)
CIE-LCHlch(22.47, 30.08, 279.03°)
OKLaboklab(33.28% -0.0222 -0.085)
OKLCHoklch(33.28% 0.088 255.4)
XYZxyz(3.7724, 3.6483, 12.0583)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123662 #623E12
analogous
#125E62 #123662 #161262
triadic
#123662 #621236 #366212
tetradic
#123662 #62125E #623E12 #126216
square
#123662 #62125E #623E12 #126216
split-complementary
#123662 #621612 #5E6212
monochromatic
#050E1A #091A2E #123662 #1B5296 #256FC9

Accessibility & contrast

On white

12.14
#123662 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#123662 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123662
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123662#FFFFFF#000000##FFFFFF
##1236621.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203A64
Deuteranopia (green-blind)
#123261
Tritanopia (blue-blind)
#004047
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123662;
/* rgb */ color: rgb(18, 54, 98);
/* oklch */ color: oklch(33.3% 0.088 255.4);
Tailwind
colors: {
  custom: {
    50: '#5d6c8f',
    500: '#123662',
    950: '#000000',
  },
}
SCSS
$custom: #123662;
$custom-light: #5d6c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#123662",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 98
  },
  "hsl": {
    "h": 213,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33282,
    "c": 0.08785,
    "h": 255.4
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#123662
secondary
#9A6D36
accent
#9D3CEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #123662

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

Preview Lab → · Contrast checker → · Palette generator →

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