#123F71#123F71

#123F71 is a dark, moderate cyan. Relative luminance 0.049; OKLCH L 36.6% C 0.099 H 254.1°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#123F71
RGBrgb(18, 63, 113)
HSLhsl(212, 73%, 26%)
HSVhsv(212, 84%, 44%)
CMYKcmyk(84.1%, 44.2%, 0%, 55.7%)
CIE-LABlab(26.38, 4.77, -33.13)
CIE-LCHlch(26.38, 33.47, 278.20°)
OKLaboklab(36.64% -0.0271 -0.0948)
OKLCHoklch(36.64% 0.099 254.1)
XYZxyz(5.0065, 4.8753, 16.2967)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F71 #714412
analogous
#126E71 #123F71 #141271
triadic
#123F71 #71123F #3F7112
tetradic
#123F71 #71126E #714412 #127114
square
#123F71 #71126E #714412 #127114
split-complementary
#123F71 #711412 #6E7112
monochromatic
#040F1A #0A223C #123F71 #1A5CA6 #237ADB

Accessibility & contrast

On white

10.63
#123F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#123F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F71
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F71#FFFFFF#000000##FFFFFF
##123F711.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#153A70
Tritanopia (blue-blind)
#004B52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #123f71;
/* rgb */ color: rgb(18, 63, 113);
/* oklch */ color: oklch(36.6% 0.099 254.1);
Tailwind
colors: {
  custom: {
    50: '#61739a',
    500: '#123f71',
    950: '#000000',
  },
}
SCSS
$custom: #123f71;
$custom-light: #61739a;
$custom-dark: #000000;
JSON
{
  "hex": "#123f71",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 113
  },
  "hsl": {
    "h": 211.579,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36636,
    "c": 0.09863,
    "h": 254.1
  },
  "luminance": 0.04876
}

Semantic roles & 50–950 ramp

primary
#123F71
secondary
#A87237
accent
#9939EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #123F71

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

Preview Lab → · Contrast checker → · Palette generator →

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