#123C74#123C74

#123C74 is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 36.1% C 0.107 H 257.1°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#123C74
RGBrgb(18, 60, 116)
HSLhsl(214, 73%, 26%)
HSVhsv(214, 84%, 45%)
CMYKcmyk(84.5%, 48.3%, 0%, 54.5%)
CIE-LABlab(25.63, 8.13, -36.24)
CIE-LCHlch(25.63, 37.14, 282.65°)
OKLaboklab(36.12% -0.0238 -0.104)
OKLCHoklch(36.12% 0.107 257.1)
XYZxyz(5.0165, 4.6207, 17.1471)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C74 #744A12
analogous
#126D74 #123C74 #191274
triadic
#123C74 #74123C #3C7412
tetradic
#123C74 #74126D #744A12 #127419
square
#123C74 #74126D #744A12 #127419
split-complementary
#123C74 #741912 #6D7412
monochromatic
#040E1A #0A213F #123C74 #1A57A9 #2373DD

Accessibility & contrast

On white

10.91
#123C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#123C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123C74
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C74#FFFFFF#000000##FFFFFF
##123C741.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4176
Deuteranopia (green-blind)
#043973
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #123c74;
/* rgb */ color: rgb(18, 60, 116);
/* oklch */ color: oklch(36.1% 0.107 257.1);
Tailwind
colors: {
  custom: {
    50: '#62719c',
    500: '#123c74',
    950: '#000000',
  },
}
SCSS
$custom: #123c74;
$custom-light: #62719c;
$custom-dark: #000000;
JSON
{
  "hex": "#123c74",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 116
  },
  "hsl": {
    "h": 214.286,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36119,
    "c": 0.10673,
    "h": 257.1
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#123C74
secondary
#AB7937
accent
#A138F0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123C74

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

Preview Lab → · Contrast checker → · Palette generator →

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