#123A55#123A55

#123A55 is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.5% C 0.065 H 242.1°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#123A55
RGBrgb(18, 58, 85)
HSLhsl(204, 65%, 20%)
HSVhsv(204, 79%, 33%)
CMYKcmyk(78.8%, 31.8%, 0%, 66.7%)
CIE-LABlab(23.03, -3.48, -20.30)
CIE-LCHlch(23.03, 20.59, 260.28°)
OKLaboklab(33.47% -0.0304 -0.0574)
OKLCHoklch(33.47% 0.065 242.1)
XYZxyz(3.4016, 3.8102, 9.1487)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A55 #552D12
analogous
#12554E #123A55 #121855
triadic
#123A55 #55123A #3A5512
tetradic
#123A55 #4E1255 #552D12 #185512
square
#123A55 #4E1255 #552D12 #185512
split-complementary
#123A55 #551218 #554E12
monochromatic
#051119 #071822 #123A55 #1D5C88 #277FBA

Accessibility & contrast

On white

11.92
#123A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#123A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A55
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A55#FFFFFF#000000##FFFFFF
##123A551.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A56
Deuteranopia (green-blind)
#243455
Tritanopia (blue-blind)
#004143
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123a55;
/* rgb */ color: rgb(18, 58, 85);
/* oklch */ color: oklch(33.5% 0.065 242.1);
Tailwind
colors: {
  custom: {
    50: '#5a7085',
    500: '#123a55',
    950: '#000000',
  },
}
SCSS
$custom: #123a55;
$custom-light: #5a7085;
$custom-dark: #000000;
JSON
{
  "hex": "#123a55",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 85
  },
  "hsl": {
    "h": 204.179,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.33466,
    "c": 0.06494,
    "h": 242.1
  },
  "luminance": 0.03811
}

Semantic roles & 50–950 ramp

primary
#123A55
secondary
#8E5935
accent
#8440E8
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123A55

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

Preview Lab → · Contrast checker → · Palette generator →

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