#123F6A#123F6A

#123F6A is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 36.1% C 0.089 H 251.0°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#123F6A
RGBrgb(18, 63, 106)
HSLhsl(209, 71%, 24%)
HSVhsv(209, 83%, 42%)
CMYKcmyk(83%, 40.6%, 0%, 58.4%)
CIE-LABlab(25.93, 1.83, -29.37)
CIE-LCHlch(25.93, 29.42, 273.57°)
OKLaboklab(36.15% -0.0289 -0.0838)
OKLCHoklch(36.15% 0.089 251)
XYZxyz(4.6275, 4.7237, 14.3007)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F6A #6A3D12
analogous
#126A69 #123F6A #12136A
triadic
#123F6A #6A123F #3F6A12
tetradic
#123F6A #69126A #6A3D12 #136A12
square
#123F6A #69126A #6A3D12 #136A12
split-complementary
#123F6A #6A1213 #6A6912
monochromatic
#04101A #092036 #123F6A #1B5E9E #247DD3

Accessibility & contrast

On white

10.80
#123F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#123F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F6A
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F6A#FFFFFF#000000##FFFFFF
##123F6A1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B426C
Deuteranopia (green-blind)
#1D3A69
Tritanopia (blue-blind)
#00494F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #123f6a;
/* rgb */ color: rgb(18, 63, 106);
/* oklch */ color: oklch(36.1% 0.089 251.0);
Tailwind
colors: {
  custom: {
    50: '#5f7395',
    500: '#123f6a',
    950: '#000000',
  },
}
SCSS
$custom: #123f6a;
$custom-light: #5f7395;
$custom-dark: #000000;
JSON
{
  "hex": "#123f6a",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 106
  },
  "hsl": {
    "h": 209.318,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36146,
    "c": 0.08864,
    "h": 251
  },
  "luminance": 0.04724
}

Semantic roles & 50–950 ramp

primary
#123F6A
secondary
#A26B36
accent
#923AEE
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#05080D
muted
#7A7B7E

Preview Lab

Preview with #123F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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