#123F7D#123F7D

#123F7D is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.5% C 0.116 H 257.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#123F7D
RGBrgb(18, 63, 125)
HSLhsl(215, 75%, 28%)
HSVhsv(215, 86%, 49%)
CMYKcmyk(85.6%, 49.6%, 0%, 51%)
CIE-LABlab(27.20, 9.83, -39.39)
CIE-LCHlch(27.20, 40.60, 284.02°)
OKLaboklab(37.53% -0.0246 -0.1133)
OKLCHoklch(37.53% 0.116 257.7)
XYZxyz(5.7273, 5.1636, 20.0929)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F7D #7D5012
analogous
#12747D #123F7D #1A127D
triadic
#123F7D #7D123F #3F7D12
tetradic
#123F7D #7D1274 #7D5012 #127D1A
square
#123F7D #7D1274 #7D5012 #127D1A
split-complementary
#123F7D #7D1A12 #747D12
monochromatic
#040D1B #0A2448 #123F7D #1A5AB2 #2976E0

Accessibility & contrast

On white

10.33
#123F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#123F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F7D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F7D#FFFFFF#000000##FFFFFF
##123F7D1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #123f7d;
/* rgb */ color: rgb(18, 63, 125);
/* oklch */ color: oklch(37.5% 0.116 257.7);
Tailwind
colors: {
  custom: {
    50: '#6473a3',
    500: '#123f7d',
    950: '#000000',
  },
}
SCSS
$custom: #123f7d;
$custom-light: #6473a3;
$custom-dark: #000000;
JSON
{
  "hex": "#123f7d",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 214.766,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37534,
    "c": 0.11591,
    "h": 257.7
  },
  "luminance": 0.05164
}

Semantic roles & 50–950 ramp

primary
#123F7D
secondary
#B37F38
accent
#A336F1
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #123F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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