#123F6F#123F6F

#123F6F is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.5% C 0.096 H 253.3°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#123F6F
RGBrgb(18, 63, 111)
HSLhsl(211, 72%, 25%)
HSVhsv(211, 84%, 44%)
CMYKcmyk(83.8%, 43.2%, 0%, 56.5%)
CIE-LABlab(26.25, 3.93, -32.06)
CIE-LCHlch(26.25, 32.30, 276.99°)
OKLaboklab(36.49% -0.0276 -0.0917)
OKLCHoklch(36.49% 0.096 253.3)
XYZxyz(4.8951, 4.8307, 15.7103)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F6F #6F4212
analogous
#126D6F #123F6F #14126F
triadic
#123F6F #6F123F #3F6F12
tetradic
#123F6F #6F126D #6F4212 #126F14
square
#123F6F #6F126D #6F4212 #126F14
split-complementary
#123F6F #6F1412 #6D6F12
monochromatic
#040F1A #09213A #123F6F #1B5DA4 #237BD8

Accessibility & contrast

On white

10.68
#123F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#123F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F6F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F6F#FFFFFF#000000##FFFFFF
##123F6F1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274371
Deuteranopia (green-blind)
#173A6E
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #123f6f;
/* rgb */ color: rgb(18, 63, 111);
/* oklch */ color: oklch(36.5% 0.096 253.3);
Tailwind
colors: {
  custom: {
    50: '#617398',
    500: '#123f6f',
    950: '#000000',
  },
}
SCSS
$custom: #123f6f;
$custom-light: #617398;
$custom-dark: #000000;
JSON
{
  "hex": "#123f6f",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 111
  },
  "hsl": {
    "h": 210.968,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36493,
    "c": 0.09577,
    "h": 253.3
  },
  "luminance": 0.04831
}

Semantic roles & 50–950 ramp

primary
#123F6F
secondary
#A67037
accent
#9739EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #123F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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