#123954#123954

#123954 is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.1% C 0.065 H 242.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#123954
RGBrgb(18, 57, 84)
HSLhsl(205, 65%, 20%)
HSVhsv(205, 79%, 33%)
CMYKcmyk(78.6%, 32.1%, 0%, 67.1%)
CIE-LABlab(22.64, -3.21, -20.26)
CIE-LCHlch(22.64, 20.52, 260.99°)
OKLaboklab(33.13% -0.0296 -0.0573)
OKLCHoklch(33.13% 0.065 242.7)
XYZxyz(3.3122, 3.6946, 8.9243)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123954 #542D12
analogous
#12544E #123954 #121854
triadic
#123954 #541239 #395412
tetradic
#123954 #4E1254 #542D12 #185412
square
#123954 #4E1254 #542D12 #185412
split-complementary
#123954 #541218 #544E12
monochromatic
#051119 #071722 #123954 #1D5B86 #287DB9

Accessibility & contrast

On white

12.08
#123954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#123954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123954
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123954#FFFFFF#000000##FFFFFF
##1239541.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3A55
Deuteranopia (green-blind)
#243354
Tritanopia (blue-blind)
#004042
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123954;
/* rgb */ color: rgb(18, 57, 84);
/* oklch */ color: oklch(33.1% 0.065 242.7);
Tailwind
colors: {
  custom: {
    50: '#5a6f84',
    500: '#123954',
    950: '#000000',
  },
}
SCSS
$custom: #123954;
$custom-light: #5a6f84;
$custom-dark: #000000;
JSON
{
  "hex": "#123954",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 84
  },
  "hsl": {
    "h": 204.545,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.33133,
    "c": 0.06451,
    "h": 242.7
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#123954
secondary
#8D5935
accent
#8540E8
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123954

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

Preview Lab → · Contrast checker → · Palette generator →

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