#123A5B#123A5B

#123A5B is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.8% C 0.073 H 247.2°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#123A5B
RGBrgb(18, 58, 91)
HSLhsl(207, 67%, 21%)
HSVhsv(207, 80%, 36%)
CMYKcmyk(80.2%, 36.3%, 0%, 64.3%)
CIE-LABlab(23.37, -1.01, -23.71)
CIE-LCHlch(23.37, 23.73, 267.56°)
OKLaboklab(33.84% -0.0283 -0.0673)
OKLCHoklch(33.84% 0.073 247.2)
XYZxyz(3.6501, 3.9096, 10.4578)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A5B #5B3312
analogous
#125B58 #123A5B #12165B
triadic
#123A5B #5B123A #3A5B12
tetradic
#123A5B #58125B #5B3312 #165B12
square
#123A5B #58125B #5B3312 #165B12
split-complementary
#123A5B #5B1216 #5B5812
monochromatic
#05101A #081928 #123A5B #1C5B8E #267BC1

Accessibility & contrast

On white

11.78
#123A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#123A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A5B
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A5B#FFFFFF#000000##FFFFFF
##123A5B1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3B5C
Deuteranopia (green-blind)
#20355A
Tritanopia (blue-blind)
#004246
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123a5b;
/* rgb */ color: rgb(18, 58, 91);
/* oklch */ color: oklch(33.8% 0.073 247.2);
Tailwind
colors: {
  custom: {
    50: '#5c6f89',
    500: '#123a5b',
    950: '#000000',
  },
}
SCSS
$custom: #123a5b;
$custom-light: #5c6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#123a5b",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 91
  },
  "hsl": {
    "h": 207.123,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33842,
    "c": 0.07305,
    "h": 247.2
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#123A5B
secondary
#936035
accent
#8C3EEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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