#123B54#123B54

#123B54 is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.7% C 0.063 H 239.5°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#123B54
RGBrgb(18, 59, 84)
HSLhsl(203, 65%, 20%)
HSVhsv(203, 79%, 33%)
CMYKcmyk(78.6%, 29.8%, 0%, 67.1%)
CIE-LABlab(23.33, -4.55, -19.18)
CIE-LCHlch(23.33, 19.72, 256.66°)
OKLaboklab(33.68% -0.0319 -0.0541)
OKLCHoklch(33.68% 0.063 239.5)
XYZxyz(3.4130, 3.8962, 8.9580)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B54 #542B12
analogous
#12544C #123B54 #121A54
triadic
#123B54 #54123B #3B5412
tetradic
#123B54 #4C1254 #542B12 #1A5412
square
#123B54 #4C1254 #542B12 #1A5412
split-complementary
#123B54 #54121A #544C12
monochromatic
#051219 #071822 #123B54 #1D5E86 #2882B9

Accessibility & contrast

On white

11.80
#123B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#123B54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B54
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B54#FFFFFF#000000##FFFFFF
##123B541.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3B55
Deuteranopia (green-blind)
#263554
Tritanopia (blue-blind)
#004144
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123b54;
/* rgb */ color: rgb(18, 59, 84);
/* oklch */ color: oklch(33.7% 0.063 239.5);
Tailwind
colors: {
  custom: {
    50: '#5a7084',
    500: '#123b54',
    950: '#000000',
  },
}
SCSS
$custom: #123b54;
$custom-light: #5a7084;
$custom-dark: #000000;
JSON
{
  "hex": "#123b54",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 84
  },
  "hsl": {
    "h": 202.727,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.3368,
    "c": 0.06283,
    "h": 239.5
  },
  "luminance": 0.03897
}

Semantic roles & 50–950 ramp

primary
#123B54
secondary
#8D5635
accent
#8040E8
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123B54

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

Preview Lab → · Contrast checker → · Palette generator →

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