#123154#123154

#123154 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.0% C 0.073 H 253.5°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#123154
RGBrgb(18, 49, 84)
HSLhsl(212, 65%, 20%)
HSVhsv(212, 79%, 33%)
CMYKcmyk(78.6%, 41.7%, 0%, 67.1%)
CIE-LABlab(19.90, 2.33, -24.58)
CIE-LCHlch(19.90, 24.69, 275.42°)
OKLaboklab(30.99% -0.0207 -0.07)
OKLCHoklch(30.99% 0.073 253.5)
XYZxyz(2.9474, 2.9650, 8.8028)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123154 #543512
analogous
#125254 #123154 #141254
triadic
#123154 #541231 #315412
tetradic
#123154 #541252 #543512 #125414
square
#123154 #541252 #543512 #125414
split-complementary
#123154 #541412 #525412
monochromatic
#050F19 #071422 #123154 #1D4E86 #286CB9

Accessibility & contrast

On white

13.18
#123154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#123154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123154
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123154#FFFFFF#000000##FFFFFF
##1231541.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213355
Deuteranopia (green-blind)
#172D53
Tritanopia (blue-blind)
#00393E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #123154;
/* rgb */ color: rgb(18, 49, 84);
/* oklch */ color: oklch(31.0% 0.073 253.5);
Tailwind
colors: {
  custom: {
    50: '#5a6884',
    500: '#123154',
    950: '#000000',
  },
}
SCSS
$custom: #123154;
$custom-light: #5a6884;
$custom-dark: #000000;
JSON
{
  "hex": "#123154",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 84
  },
  "hsl": {
    "h": 211.818,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30986,
    "c": 0.07303,
    "h": 253.5
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#123154
secondary
#8D6435
accent
#9940E8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123154

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

Preview Lab → · Contrast checker → · Palette generator →

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