#123B5C#123B5C

#123B5C is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.2% C 0.073 H 246.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#123B5C
RGBrgb(18, 59, 92)
HSLhsl(207, 67%, 22%)
HSVhsv(207, 80%, 36%)
CMYKcmyk(80.4%, 35.9%, 0%, 63.9%)
CIE-LABlab(23.77, -1.28, -23.74)
CIE-LCHlch(23.77, 23.77, 266.92°)
OKLaboklab(34.17% -0.029 -0.0674)
OKLCHoklch(34.17% 0.073 246.7)
XYZxyz(3.7444, 4.0288, 10.7034)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B5C #5C3312
analogous
#125C58 #123B5C #12165C
triadic
#123B5C #5C123B #3B5C12
tetradic
#123B5C #58125C #5C3312 #165C12
square
#123B5C #58125C #5C3312 #165C12
split-complementary
#123B5C #5C1216 #5C5812
monochromatic
#05101A #081A29 #123B5C #1C5C8F #267DC2

Accessibility & contrast

On white

11.63
#123B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#123B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B5C
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B5C#FFFFFF#000000##FFFFFF
##123B5C1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3C5D
Deuteranopia (green-blind)
#21355B
Tritanopia (blue-blind)
#004347
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123b5c;
/* rgb */ color: rgb(18, 59, 92);
/* oklch */ color: oklch(34.2% 0.073 246.7);
Tailwind
colors: {
  custom: {
    50: '#5c708a',
    500: '#123b5c',
    950: '#000000',
  },
}
SCSS
$custom: #123b5c;
$custom-light: #5c708a;
$custom-dark: #000000;
JSON
{
  "hex": "#123b5c",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 92
  },
  "hsl": {
    "h": 206.757,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34173,
    "c": 0.0734,
    "h": 246.7
  },
  "luminance": 0.04029
}

Semantic roles & 50–950 ramp

primary
#123B5C
secondary
#946035
accent
#8B3EEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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