#123A58#123A58

#123A58 is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.7% C 0.069 H 244.8°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#123A58
RGBrgb(18, 58, 88)
HSLhsl(206, 66%, 21%)
HSVhsv(206, 80%, 35%)
CMYKcmyk(79.5%, 34.1%, 0%, 65.5%)
CIE-LABlab(23.20, -2.25, -22.01)
CIE-LCHlch(23.20, 22.13, 264.17°)
OKLaboklab(33.65% -0.0293 -0.0624)
OKLCHoklch(33.65% 0.069 244.8)
XYZxyz(3.5233, 3.8589, 9.7898)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A58 #583012
analogous
#125853 #123A58 #121758
triadic
#123A58 #58123A #3A5812
tetradic
#123A58 #531258 #583012 #175812
square
#123A58 #531258 #583012 #175812
split-complementary
#123A58 #581217 #585312
monochromatic
#051119 #081925 #123A58 #1C5B8B #277DBE

Accessibility & contrast

On white

11.85
#123A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#123A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A58
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A58#FFFFFF#000000##FFFFFF
##123A581.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3B59
Deuteranopia (green-blind)
#223457
Tritanopia (blue-blind)
#004145
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123a58;
/* rgb */ color: rgb(18, 58, 88);
/* oklch */ color: oklch(33.7% 0.069 244.8);
Tailwind
colors: {
  custom: {
    50: '#5b6f87',
    500: '#123a58',
    950: '#000000',
  },
}
SCSS
$custom: #123a58;
$custom-light: #5b6f87;
$custom-dark: #000000;
JSON
{
  "hex": "#123a58",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 88
  },
  "hsl": {
    "h": 205.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33652,
    "c": 0.06892,
    "h": 244.8
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#123A58
secondary
#915C35
accent
#883FE9
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123A58

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

Preview Lab → · Contrast checker → · Palette generator →

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