#123A5F#123A5F

#123A5F is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.1% C 0.079 H 249.9°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#123A5F
RGBrgb(18, 58, 95)
HSLhsl(209, 68%, 22%)
HSVhsv(209, 81%, 37%)
CMYKcmyk(81.1%, 38.9%, 0%, 62.7%)
CIE-LABlab(23.61, 0.66, -25.95)
CIE-LCHlch(23.61, 25.96, 271.45°)
OKLaboklab(34.11% -0.0271 -0.0739)
OKLCHoklch(34.11% 0.079 249.9)
XYZxyz(3.8273, 3.9805, 11.3909)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A5F #5F3712
analogous
#125F5E #123A5F #12145F
triadic
#123A5F #5F123A #3A5F12
tetradic
#123A5F #5E125F #5F3712 #145F12
square
#123A5F #5E125F #5F3712 #145F12
split-complementary
#123A5F #5F1214 #5F5E12
monochromatic
#05101A #081B2C #123A5F #1C5992 #2579C6

Accessibility & contrast

On white

11.69
#123A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#123A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A5F
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A5F#FFFFFF#000000##FFFFFF
##123A5F1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C61
Deuteranopia (green-blind)
#1D355E
Tritanopia (blue-blind)
#004348
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123a5f;
/* rgb */ color: rgb(18, 58, 95);
/* oklch */ color: oklch(34.1% 0.079 249.9);
Tailwind
colors: {
  custom: {
    50: '#5d6f8c',
    500: '#123a5f',
    950: '#000000',
  },
}
SCSS
$custom: #123a5f;
$custom-light: #5d6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#123a5f",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 95
  },
  "hsl": {
    "h": 208.831,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34106,
    "c": 0.07869,
    "h": 249.9
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#123A5F
secondary
#976436
accent
#913DEB
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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