#123B5F#123B5F

#123B5F is a dark, moderate cyan. Relative luminance 0.041; OKLCH L 34.4% C 0.078 H 248.8°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#123B5F
RGBrgb(18, 59, 95)
HSLhsl(208, 68%, 22%)
HSVhsv(208, 81%, 37%)
CMYKcmyk(81.1%, 37.9%, 0%, 62.7%)
CIE-LABlab(23.94, -0.03, -25.42)
CIE-LCHlch(23.94, 25.42, 269.94°)
OKLaboklab(34.37% -0.0281 -0.0723)
OKLCHoklch(34.37% 0.078 248.8)
XYZxyz(3.8782, 4.0823, 11.4078)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B5F #5F3612
analogous
#125F5D #123B5F #12145F
triadic
#123B5F #5F123B #3B5F12
tetradic
#123B5F #5D125F #5F3612 #145F12
square
#123B5F #5D125F #5F3612 #145F12
split-complementary
#123B5F #5F1214 #5F5D12
monochromatic
#05101A #081B2C #123B5F #1C5B92 #257BC6

Accessibility & contrast

On white

11.56
#123B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#123B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B5F
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B5F#FFFFFF#000000##FFFFFF
##123B5F1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3D61
Deuteranopia (green-blind)
#1F365E
Tritanopia (blue-blind)
#004448
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123b5f;
/* rgb */ color: rgb(18, 59, 95);
/* oklch */ color: oklch(34.4% 0.078 248.8);
Tailwind
colors: {
  custom: {
    50: '#5d708c',
    500: '#123b5f',
    950: '#000000',
  },
}
SCSS
$custom: #123b5f;
$custom-light: #5d708c;
$custom-dark: #000000;
JSON
{
  "hex": "#123b5f",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 95
  },
  "hsl": {
    "h": 208.052,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34368,
    "c": 0.07759,
    "h": 248.8
  },
  "luminance": 0.04083
}

Semantic roles & 50–950 ramp

primary
#123B5F
secondary
#976336
accent
#8E3DEB
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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