#123358#123358

#123358 is a dark, moderate cyan. Relative luminance 0.032; OKLCH L 31.8% C 0.077 H 253.5°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#123358
RGBrgb(18, 51, 88)
HSLhsl(212, 66%, 21%)
HSVhsv(212, 80%, 35%)
CMYKcmyk(79.5%, 42%, 0%, 65.5%)
CIE-LABlab(20.83, 2.60, -25.76)
CIE-LCHlch(20.83, 25.89, 275.77°)
OKLaboklab(31.79% -0.0217 -0.0735)
OKLCHoklch(31.79% 0.077 253.5)
XYZxyz(3.1941, 3.2005, 9.6800)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123358 #583712
analogous
#125658 #123358 #141258
triadic
#123358 #581233 #335812
tetradic
#123358 #581256 #583712 #125814
square
#123358 #581256 #583712 #125814
split-complementary
#123358 #581412 #565812
monochromatic
#050F19 #081625 #123358 #1C508B #276EBE

Accessibility & contrast

On white

12.80
#123358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#123358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123358
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123358#FFFFFF#000000##FFFFFF
##1233581.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223659
Deuteranopia (green-blind)
#172F57
Tritanopia (blue-blind)
#003C41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #123358;
/* rgb */ color: rgb(18, 51, 88);
/* oklch */ color: oklch(31.8% 0.077 253.5);
Tailwind
colors: {
  custom: {
    50: '#5b6a87',
    500: '#123358',
    950: '#000000',
  },
}
SCSS
$custom: #123358;
$custom-light: #5b6a87;
$custom-dark: #000000;
JSON
{
  "hex": "#123358",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 88
  },
  "hsl": {
    "h": 211.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31792,
    "c": 0.07661,
    "h": 253.5
  },
  "luminance": 0.03201
}

Semantic roles & 50–950 ramp

primary
#123358
secondary
#916635
accent
#993FE9
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123358

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

Preview Lab → · Contrast checker → · Palette generator →

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