#123462#123462

#123462 is a dark, moderate cyan. Relative luminance 0.035; OKLCH L 32.8% C 0.090 H 257.0°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#123462
RGBrgb(18, 52, 98)
HSLhsl(215, 69%, 23%)
HSVhsv(215, 82%, 38%)
CMYKcmyk(81.6%, 46.9%, 0%, 61.6%)
CIE-LABlab(21.82, 6.15, -30.75)
CIE-LCHlch(21.82, 31.36, 281.30°)
OKLaboklab(32.78% -0.0203 -0.0881)
OKLCHoklch(32.78% 0.09 257)
XYZxyz(3.6812, 3.4660, 12.0279)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123462 #624012
analogous
#125C62 #123462 #181262
triadic
#123462 #621234 #346212
tetradic
#123462 #62125C #624012 #126218
square
#123462 #62125C #624012 #126218
split-complementary
#123462 #621812 #5C6212
monochromatic
#050E1A #09192E #123462 #1B4F96 #256BC9

Accessibility & contrast

On white

12.40
#123462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123462
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123462#FFFFFF#000000##FFFFFF
##1234621.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3864
Deuteranopia (green-blind)
#0D3161
Tritanopia (blue-blind)
#003F46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123462;
/* rgb */ color: rgb(18, 52, 98);
/* oklch */ color: oklch(32.8% 0.090 257.0);
Tailwind
colors: {
  custom: {
    50: '#5d6b8f',
    500: '#123462',
    950: '#000000',
  },
}
SCSS
$custom: #123462;
$custom-light: #5d6b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#123462",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 98
  },
  "hsl": {
    "h": 214.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32776,
    "c": 0.0904,
    "h": 257
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#123462
secondary
#9A6F36
accent
#A13CEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #123462

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

Preview Lab → · Contrast checker → · Palette generator →

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