#123C71#123C71

#123C71 is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.9% C 0.102 H 256.2°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#123C71
RGBrgb(18, 60, 113)
HSLhsl(213, 73%, 26%)
HSVhsv(213, 84%, 44%)
CMYKcmyk(84.1%, 46.9%, 0%, 55.7%)
CIE-LABlab(25.42, 6.86, -34.66)
CIE-LCHlch(25.42, 35.33, 281.20°)
OKLaboklab(35.89% -0.0244 -0.0994)
OKLCHoklch(35.89% 0.102 256.2)
XYZxyz(4.8448, 4.5520, 16.2429)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C71 #714712
analogous
#126B71 #123C71 #181271
triadic
#123C71 #71123C #3C7112
tetradic
#123C71 #71126B #714712 #127118
square
#123C71 #71126B #714712 #127118
split-complementary
#123C71 #711812 #6B7112
monochromatic
#040E1A #0A203C #123C71 #1A58A6 #2374DB

Accessibility & contrast

On white

10.99
#123C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#123C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123C71
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C71#FFFFFF#000000##FFFFFF
##123C711.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204173
Deuteranopia (green-blind)
#0B3870
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #123c71;
/* rgb */ color: rgb(18, 60, 113);
/* oklch */ color: oklch(35.9% 0.102 256.2);
Tailwind
colors: {
  custom: {
    50: '#61719a',
    500: '#123c71',
    950: '#000000',
  },
}
SCSS
$custom: #123c71;
$custom-light: #61719a;
$custom-dark: #000000;
JSON
{
  "hex": "#123c71",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 113
  },
  "hsl": {
    "h": 213.474,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35893,
    "c": 0.10237,
    "h": 256.2
  },
  "luminance": 0.04553
}

Semantic roles & 50–950 ramp

primary
#123C71
secondary
#A87637
accent
#9E39EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123C71

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

Preview Lab → · Contrast checker → · Palette generator →

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