#123C72#123C72

#123C72 is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 36.0% C 0.104 H 256.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#123C72
RGBrgb(18, 60, 114)
HSLhsl(214, 73%, 26%)
HSVhsv(214, 84%, 45%)
CMYKcmyk(84.2%, 47.4%, 0%, 55.3%)
CIE-LABlab(25.49, 7.29, -35.19)
CIE-LCHlch(25.49, 35.93, 281.70°)
OKLaboklab(35.97% -0.0242 -0.101)
OKLCHoklch(35.97% 0.104 256.5)
XYZxyz(4.9014, 4.5746, 16.5410)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C72 #724812
analogous
#126C72 #123C72 #181272
triadic
#123C72 #72123C #3C7212
tetradic
#123C72 #72126C #724812 #127218
square
#123C72 #72126C #724812 #127218
split-complementary
#123C72 #721812 #6C7212
monochromatic
#040E1A #0A203D #123C72 #1A58A7 #2374DC

Accessibility & contrast

On white

10.97
#123C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123C72
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C72#FFFFFF#000000##FFFFFF
##123C721.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4174
Deuteranopia (green-blind)
#093871
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #123c72;
/* rgb */ color: rgb(18, 60, 114);
/* oklch */ color: oklch(36.0% 0.104 256.5);
Tailwind
colors: {
  custom: {
    50: '#61719b',
    500: '#123c72',
    950: '#000000',
  },
}
SCSS
$custom: #123c72;
$custom-light: #61719b;
$custom-dark: #000000;
JSON
{
  "hex": "#123c72",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 114
  },
  "hsl": {
    "h": 213.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35968,
    "c": 0.10383,
    "h": 256.5
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

primary
#123C72
secondary
#A97737
accent
#9F38EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123C72

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

Preview Lab → · Contrast checker → · Palette generator →

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