#123D5F#123D5F

#123D5F is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 34.9% C 0.075 H 246.4°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#123D5F
RGBrgb(18, 61, 95)
HSLhsl(206, 68%, 22%)
HSVhsv(206, 81%, 37%)
CMYKcmyk(81.1%, 35.8%, 0%, 62.7%)
CIE-LABlab(24.61, -1.39, -24.36)
CIE-LCHlch(24.61, 24.40, 266.74°)
OKLaboklab(34.9% -0.0302 -0.0692)
OKLCHoklch(34.9% 0.075 246.4)
XYZxyz(3.9830, 4.2918, 11.4427)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D5F #5F3412
analogous
#125F5B #123D5F #12165F
triadic
#123D5F #5F123D #3D5F12
tetradic
#123D5F #5B125F #5F3412 #165F12
square
#123D5F #5B125F #5F3412 #165F12
split-complementary
#123D5F #5F1216 #5F5B12
monochromatic
#05111A #081C2C #123D5F #1C5E92 #257FC6

Accessibility & contrast

On white

11.30
#123D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#123D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D5F
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D5F#FFFFFF#000000##FFFFFF
##123D5F1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3E60
Deuteranopia (green-blind)
#22375E
Tritanopia (blue-blind)
#004549
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123d5f;
/* rgb */ color: rgb(18, 61, 95);
/* oklch */ color: oklch(34.9% 0.075 246.4);
Tailwind
colors: {
  custom: {
    50: '#5d728c',
    500: '#123d5f',
    950: '#000000',
  },
}
SCSS
$custom: #123d5f;
$custom-light: #5d728c;
$custom-dark: #000000;
JSON
{
  "hex": "#123d5f",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 95
  },
  "hsl": {
    "h": 206.494,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34897,
    "c": 0.07548,
    "h": 246.4
  },
  "luminance": 0.04292
}

Semantic roles & 50–950 ramp

primary
#123D5F
secondary
#976136
accent
#8A3DEB
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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