#123A5C#123A5C

#123A5C is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.9% C 0.074 H 247.9°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#123A5C
RGBrgb(18, 58, 92)
HSLhsl(208, 67%, 22%)
HSVhsv(208, 80%, 36%)
CMYKcmyk(80.4%, 37%, 0%, 63.9%)
CIE-LABlab(23.43, -0.59, -24.27)
CIE-LCHlch(23.43, 24.28, 268.60°)
OKLaboklab(33.91% -0.028 -0.069)
OKLCHoklch(33.91% 0.074 247.9)
XYZxyz(3.6935, 3.9270, 10.6865)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A5C #5C3412
analogous
#125C59 #123A5C #12155C
triadic
#123A5C #5C123A #3A5C12
tetradic
#123A5C #59125C #5C3412 #155C12
square
#123A5C #59125C #5C3412 #155C12
split-complementary
#123A5C #5C1215 #5C5912
monochromatic
#05101A #081A29 #123A5C #1C5A8F #267BC2

Accessibility & contrast

On white

11.76
#123A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#123A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A5C
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A5C#FFFFFF#000000##FFFFFF
##123A5C1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3C5D
Deuteranopia (green-blind)
#20355B
Tritanopia (blue-blind)
#004246
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123a5c;
/* rgb */ color: rgb(18, 58, 92);
/* oklch */ color: oklch(33.9% 0.074 247.9);
Tailwind
colors: {
  custom: {
    50: '#5c6f8a',
    500: '#123a5c',
    950: '#000000',
  },
}
SCSS
$custom: #123a5c;
$custom-light: #5c6f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#123a5c",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 92
  },
  "hsl": {
    "h": 207.568,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33907,
    "c": 0.07444,
    "h": 247.9
  },
  "luminance": 0.03927
}

Semantic roles & 50–950 ramp

primary
#123A5C
secondary
#946135
accent
#8D3EEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070C
muted
#797A7D

Preview Lab

Preview with #123A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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