#123D74#123D74

#123D74 is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 36.4% C 0.105 H 256.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#123D74
RGBrgb(18, 61, 116)
HSLhsl(214, 73%, 26%)
HSVhsv(214, 84%, 45%)
CMYKcmyk(84.5%, 47.4%, 0%, 54.5%)
CIE-LABlab(25.94, 7.43, -35.73)
CIE-LCHlch(25.94, 36.49, 281.75°)
OKLaboklab(36.36% -0.0246 -0.1025)
OKLCHoklch(36.36% 0.105 256.5)
XYZxyz(5.0694, 4.7264, 17.1647)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D74 #744912
analogous
#126E74 #123D74 #181274
triadic
#123D74 #74123D #3D7412
tetradic
#123D74 #74126E #744912 #127418
square
#123D74 #74126E #744912 #127418
split-complementary
#123D74 #741812 #6E7412
monochromatic
#040E1A #0A213F #123D74 #1A59A9 #2375DD

Accessibility & contrast

On white

10.79
#123D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#123D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D74
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D74#FFFFFF#000000##FFFFFF
##123D741.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204276
Deuteranopia (green-blind)
#083973
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #123d74;
/* rgb */ color: rgb(18, 61, 116);
/* oklch */ color: oklch(36.4% 0.105 256.5);
Tailwind
colors: {
  custom: {
    50: '#62719c',
    500: '#123d74',
    950: '#000000',
  },
}
SCSS
$custom: #123d74;
$custom-light: #62719c;
$custom-dark: #000000;
JSON
{
  "hex": "#123d74",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 116
  },
  "hsl": {
    "h": 213.673,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36363,
    "c": 0.10546,
    "h": 256.5
  },
  "luminance": 0.04727
}

Semantic roles & 50–950 ramp

primary
#123D74
secondary
#AB7837
accent
#9F38F0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123D74

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

Preview Lab → · Contrast checker → · Palette generator →

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