#123F5A#123F5A

#123F5A is a dark, moderate cyan. Relative luminance 0.044; OKLCH L 35.1% C 0.067 H 239.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#123F5A
RGBrgb(18, 63, 90)
HSLhsl(203, 67%, 21%)
HSVhsv(203, 80%, 35%)
CMYKcmyk(80%, 30%, 0%, 64.7%)
CIE-LABlab(25.02, -4.76, -20.47)
CIE-LCHlch(25.02, 21.01, 256.90°)
OKLaboklab(35.13% -0.0341 -0.0578)
OKLCHoklch(35.13% 0.067 239.5)
XYZxyz(3.8717, 4.4213, 10.3202)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F5A #5A2D12
analogous
#125A51 #123F5A #121B5A
triadic
#123F5A #5A123F #3F5A12
tetradic
#123F5A #51125A #5A2D12 #1B5A12
square
#123F5A #51125A #5A2D12 #1B5A12
split-complementary
#123F5A #5A121B #5A5112
monochromatic
#05121A #081B27 #123F5A #1C638D #2686C0

Accessibility & contrast

On white

11.14
#123F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#123F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F5A
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F5A#FFFFFF#000000##FFFFFF
##123F5A1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323F5B
Deuteranopia (green-blind)
#29385A
Tritanopia (blue-blind)
#004648
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123f5a;
/* rgb */ color: rgb(18, 63, 90);
/* oklch */ color: oklch(35.1% 0.067 239.5);
Tailwind
colors: {
  custom: {
    50: '#5c7388',
    500: '#123f5a',
    950: '#000000',
  },
}
SCSS
$custom: #123f5a;
$custom-light: #5c7388;
$custom-dark: #000000;
JSON
{
  "hex": "#123f5a",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 90
  },
  "hsl": {
    "h": 202.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35126,
    "c": 0.06713,
    "h": 239.5
  },
  "luminance": 0.04422
}

Semantic roles & 50–950 ramp

primary
#123F5A
secondary
#935835
accent
#7E3EEA
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#04080B
muted
#797B7C

Preview Lab

Preview with #123F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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