#123354#123354

#123354 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.5% C 0.071 H 251.1°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#123354
RGBrgb(18, 51, 84)
HSLhsl(210, 65%, 20%)
HSVhsv(210, 79%, 33%)
CMYKcmyk(78.6%, 39.3%, 0%, 67.1%)
CIE-LABlab(20.58, 0.92, -23.50)
CIE-LCHlch(20.58, 23.52, 272.23°)
OKLaboklab(31.52% -0.0229 -0.0668)
OKLCHoklch(31.52% 0.071 251.1)
XYZxyz(3.0329, 3.1360, 8.8313)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123354 #543312
analogous
#125454 #123354 #121254
triadic
#123354 #541233 #335412
tetradic
#123354 #541254 #543312 #125412
square
#123354 #541254 #543312 #125412
split-complementary
#123354 #541212 #545412
monochromatic
#050F19 #071422 #123354 #1D5286 #2870B9

Accessibility & contrast

On white

12.91
#123354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#123354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123354
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123354#FFFFFF#000000##FFFFFF
##1233541.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243555
Deuteranopia (green-blind)
#1A2F53
Tritanopia (blue-blind)
#003B3F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #123354;
/* rgb */ color: rgb(18, 51, 84);
/* oklch */ color: oklch(31.5% 0.071 251.1);
Tailwind
colors: {
  custom: {
    50: '#5a6a84',
    500: '#123354',
    950: '#000000',
  },
}
SCSS
$custom: #123354;
$custom-light: #5a6a84;
$custom-dark: #000000;
JSON
{
  "hex": "#123354",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 84
  },
  "hsl": {
    "h": 210,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.31516,
    "c": 0.07065,
    "h": 251.1
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#123354
secondary
#8D6135
accent
#9440E8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123354

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

Preview Lab → · Contrast checker → · Palette generator →

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