#123B5B#123B5B

#123B5B is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.1% C 0.072 H 245.9°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#123B5B
RGBrgb(18, 59, 91)
HSLhsl(206, 67%, 21%)
HSVhsv(206, 80%, 36%)
CMYKcmyk(80.2%, 35.2%, 0%, 64.3%)
CIE-LABlab(23.71, -1.69, -23.18)
CIE-LCHlch(23.71, 23.24, 265.83°)
OKLaboklab(34.11% -0.0294 -0.0658)
OKLCHoklch(34.11% 0.072 245.9)
XYZxyz(3.7010, 4.0114, 10.4747)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B5B #5B3212
analogous
#125B57 #123B5B #12175B
triadic
#123B5B #5B123B #3B5B12
tetradic
#123B5B #57125B #5B3212 #175B12
square
#123B5B #57125B #5B3212 #175B12
split-complementary
#123B5B #5B1217 #5B5712
monochromatic
#05111A #081A28 #123B5B #1C5C8E #267DC1

Accessibility & contrast

On white

11.65
#123B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#123B5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B5B
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B5B#FFFFFF#000000##FFFFFF
##123B5B1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3C5C
Deuteranopia (green-blind)
#22355A
Tritanopia (blue-blind)
#004346
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123b5b;
/* rgb */ color: rgb(18, 59, 91);
/* oklch */ color: oklch(34.1% 0.072 245.9);
Tailwind
colors: {
  custom: {
    50: '#5c7089',
    500: '#123b5b',
    950: '#000000',
  },
}
SCSS
$custom: #123b5b;
$custom-light: #5c7089;
$custom-dark: #000000;
JSON
{
  "hex": "#123b5b",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 91
  },
  "hsl": {
    "h": 206.301,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34109,
    "c": 0.07203,
    "h": 245.9
  },
  "luminance": 0.04012
}

Semantic roles & 50–950 ramp

primary
#123B5B
secondary
#935F35
accent
#893EEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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