#123D54#123D54

#123D54 is a dark, moderate cyan. Relative luminance 0.041; OKLCH L 34.2% C 0.061 H 236.2°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#123D54
RGBrgb(18, 61, 84)
HSLhsl(201, 65%, 20%)
HSVhsv(201, 79%, 33%)
CMYKcmyk(78.6%, 27.4%, 0%, 67.1%)
CIE-LABlab(24.02, -5.86, -18.10)
CIE-LCHlch(24.02, 19.03, 252.05°)
OKLaboklab(34.23% -0.0342 -0.051)
OKLCHoklch(34.23% 0.061 236.2)
XYZxyz(3.5178, 4.1058, 8.9929)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D54 #542912
analogous
#12544A #123D54 #121C54
triadic
#123D54 #54123D #3D5412
tetradic
#123D54 #4A1254 #542912 #1C5412
square
#123D54 #4A1254 #542912 #1C5412
split-complementary
#123D54 #54121C #544A12
monochromatic
#051219 #071822 #123D54 #1D6286 #2886B9

Accessibility & contrast

On white

11.53
#123D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#123D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D54
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D54#FFFFFF#000000##FFFFFF
##123D541.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323D55
Deuteranopia (green-blind)
#293654
Tritanopia (blue-blind)
#004345
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123d54;
/* rgb */ color: rgb(18, 61, 84);
/* oklch */ color: oklch(34.2% 0.061 236.2);
Tailwind
colors: {
  custom: {
    50: '#5a7284',
    500: '#123d54',
    950: '#000000',
  },
}
SCSS
$custom: #123d54;
$custom-light: #5a7284;
$custom-dark: #000000;
JSON
{
  "hex": "#123d54",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 84
  },
  "hsl": {
    "h": 200.909,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.3423,
    "c": 0.06138,
    "h": 236.2
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#123D54
secondary
#8D5435
accent
#7B40E8
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #123D54

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

Preview Lab → · Contrast checker → · Palette generator →

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