#123A57#123A57

#123A57 is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.6% C 0.068 H 244.0°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#123A57
RGBrgb(18, 58, 87)
HSLhsl(205, 66%, 21%)
HSVhsv(205, 79%, 34%)
CMYKcmyk(79.3%, 33.3%, 0%, 65.9%)
CIE-LABlab(23.14, -2.66, -21.44)
CIE-LCHlch(23.14, 21.61, 262.93°)
OKLaboklab(33.59% -0.0297 -0.0607)
OKLCHoklch(33.59% 0.068 244)
XYZxyz(3.4821, 3.8424, 9.5731)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A57 #572F12
analogous
#125751 #123A57 #121857
triadic
#123A57 #57123A #3A5712
tetradic
#123A57 #511257 #572F12 #185712
square
#123A57 #511257 #572F12 #185712
split-complementary
#123A57 #571218 #575112
monochromatic
#051119 #081824 #123A57 #1C5C8A #277EBC

Accessibility & contrast

On white

11.87
#123A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#123A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A57
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A57#FFFFFF#000000##FFFFFF
##123A571.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3B58
Deuteranopia (green-blind)
#233456
Tritanopia (blue-blind)
#004144
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123a57;
/* rgb */ color: rgb(18, 58, 87);
/* oklch */ color: oklch(33.6% 0.068 244.0);
Tailwind
colors: {
  custom: {
    50: '#5b6f86',
    500: '#123a57',
    950: '#000000',
  },
}
SCSS
$custom: #123a57;
$custom-light: #5b6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#123a57",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 87
  },
  "hsl": {
    "h": 205.217,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33589,
    "c": 0.06758,
    "h": 244
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#123A57
secondary
#905B35
accent
#863FE9
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123A57

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

Preview Lab → · Contrast checker → · Palette generator →

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