#123F74#123F74

#123F74 is a dark, moderate cyan. Relative luminance 0.049; OKLCH L 36.9% C 0.103 H 255.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#123F74
RGBrgb(18, 63, 116)
HSLhsl(212, 73%, 26%)
HSVhsv(212, 84%, 45%)
CMYKcmyk(84.5%, 45.7%, 0%, 54.5%)
CIE-LABlab(26.57, 6.04, -34.71)
CIE-LCHlch(26.57, 35.23, 279.87°)
OKLaboklab(36.85% -0.0264 -0.0995)
OKLCHoklch(36.85% 0.103 255.1)
XYZxyz(5.1782, 4.9439, 17.2010)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F74 #744712
analogous
#127074 #123F74 #161274
triadic
#123F74 #74123F #3F7412
tetradic
#123F74 #741270 #744712 #127416
square
#123F74 #741270 #744712 #127416
split-complementary
#123F74 #741612 #707412
monochromatic
#040E1A #0A223F #123F74 #1A5CA9 #2379DD

Accessibility & contrast

On white

10.56
#123F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#123F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F74
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F74#FFFFFF#000000##FFFFFF
##123F741.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244476
Deuteranopia (green-blind)
#103B73
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #123f74;
/* rgb */ color: rgb(18, 63, 116);
/* oklch */ color: oklch(36.9% 0.103 255.1);
Tailwind
colors: {
  custom: {
    50: '#62739c',
    500: '#123f74',
    950: '#000000',
  },
}
SCSS
$custom: #123f74;
$custom-light: #62739c;
$custom-dark: #000000;
JSON
{
  "hex": "#123f74",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 116
  },
  "hsl": {
    "h": 212.449,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36854,
    "c": 0.10295,
    "h": 255.1
  },
  "luminance": 0.04945
}

Semantic roles & 50–950 ramp

primary
#123F74
secondary
#AB7637
accent
#9B38F0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #123F74

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

Preview Lab → · Contrast checker → · Palette generator →

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