#123E54#123E54

#123E54 is a dark, moderate cyan. Relative luminance 0.042; OKLCH L 34.5% C 0.061 H 234.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#123E54
RGBrgb(18, 62, 84)
HSLhsl(200, 65%, 20%)
HSVhsv(200, 79%, 33%)
CMYKcmyk(78.6%, 26.2%, 0%, 67.1%)
CIE-LABlab(24.37, -6.51, -17.56)
CIE-LCHlch(24.37, 18.73, 249.65°)
OKLaboklab(34.51% -0.0353 -0.0494)
OKLCHoklch(34.51% 0.061 234.4)
XYZxyz(3.5717, 4.2135, 9.0108)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123E54 #542812
analogous
#125449 #123E54 #121D54
triadic
#123E54 #54123E #3E5412
tetradic
#123E54 #491254 #542812 #1D5412
square
#123E54 #491254 #542812 #1D5412
split-complementary
#123E54 #54121D #544912
monochromatic
#051319 #071922 #123E54 #1D6386 #2888B9

Accessibility & contrast

On white

11.40
#123E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#123E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123E54
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123E54#FFFFFF#000000##FFFFFF
##123E541.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D55
Deuteranopia (green-blind)
#2A3754
Tritanopia (blue-blind)
#004445
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123e54;
/* rgb */ color: rgb(18, 62, 84);
/* oklch */ color: oklch(34.5% 0.061 234.4);
Tailwind
colors: {
  custom: {
    50: '#5a7384',
    500: '#123e54',
    950: '#000000',
  },
}
SCSS
$custom: #123e54;
$custom-light: #5a7384;
$custom-dark: #000000;
JSON
{
  "hex": "#123e54",
  "rgb": {
    "r": 18,
    "g": 62,
    "b": 84
  },
  "hsl": {
    "h": 200,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.34506,
    "c": 0.06074,
    "h": 234.4
  },
  "luminance": 0.04214
}

Semantic roles & 50–950 ramp

primary
#123E54
secondary
#8D5235
accent
#7840E8
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #123E54

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

Preview Lab → · Contrast checker → · Palette generator →

#123E54 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva