#123F73#123F73

#123F73 is a dark, moderate cyan. Relative luminance 0.049; OKLCH L 36.8% C 0.102 H 254.8°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#123F73
RGBrgb(18, 63, 115)
HSLhsl(212, 73%, 26%)
HSVhsv(212, 84%, 45%)
CMYKcmyk(84.3%, 45.2%, 0%, 54.9%)
CIE-LABlab(26.51, 5.61, -34.19)
CIE-LCHlch(26.51, 34.64, 279.33°)
OKLaboklab(36.78% -0.0266 -0.098)
OKLCHoklch(36.78% 0.102 254.8)
XYZxyz(5.1203, 4.9208, 16.8963)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F73 #734612
analogous
#126F73 #123F73 #151273
triadic
#123F73 #73123F #3F7312
tetradic
#123F73 #73126F #734612 #127315
square
#123F73 #73126F #734612 #127315
split-complementary
#123F73 #731512 #6F7312
monochromatic
#040E1A #0A223E #123F73 #1A5CA8 #2379DD

Accessibility & contrast

On white

10.58
#123F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123F73
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F73#FFFFFF#000000##FFFFFF
##123F731.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254375
Deuteranopia (green-blind)
#123B72
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #123f73;
/* rgb */ color: rgb(18, 63, 115);
/* oklch */ color: oklch(36.8% 0.102 254.8);
Tailwind
colors: {
  custom: {
    50: '#62739c',
    500: '#123f73',
    950: '#000000',
  },
}
SCSS
$custom: #123f73;
$custom-light: #62739c;
$custom-dark: #000000;
JSON
{
  "hex": "#123f73",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 115
  },
  "hsl": {
    "h": 212.165,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36781,
    "c": 0.10152,
    "h": 254.8
  },
  "luminance": 0.04921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #123F73

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

Preview Lab → · Contrast checker → · Palette generator →

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