#123A4D#123A4D

#123A4D is a dark, muted cyan. Relative luminance 0.037; OKLCH L 33.0% C 0.055 H 232.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#123A4D
RGBrgb(18, 58, 77)
HSLhsl(199, 62%, 19%)
HSVhsv(199, 77%, 30%)
CMYKcmyk(76.6%, 24.7%, 0%, 69.8%)
CIE-LABlab(22.62, -6.69, -15.65)
CIE-LCHlch(22.62, 17.02, 246.86°)
OKLaboklab(33% -0.0335 -0.0439)
OKLCHoklch(33% 0.055 232.7)
XYZxyz(3.1015, 3.6902, 7.5686)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A4D #4D2512
analogous
#124D42 #123A4D #121C4D
triadic
#123A4D #4D123A #3A4D12
tetradic
#123A4D #42124D #4D2512 #1C4D12
square
#123A4D #42124D #4D2512 #1C4D12
split-complementary
#123A4D #4D121C #4D4212
monochromatic
#061319 #06151B #123A4D #1E5F7F #2985B0

Accessibility & contrast

On white

12.08
#123A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#123A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A4D
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A4D#FFFFFF#000000##FFFFFF
##123A4D1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31394E
Deuteranopia (green-blind)
#29334D
Tritanopia (blue-blind)
#003F40
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123a4d;
/* rgb */ color: rgb(18, 58, 77);
/* oklch */ color: oklch(33.0% 0.055 232.7);
Tailwind
colors: {
  custom: {
    50: '#59707f',
    500: '#123a4d',
    950: '#000000',
  },
}
SCSS
$custom: #123a4d;
$custom-light: #59707f;
$custom-dark: #000000;
JSON
{
  "hex": "#123a4d",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 77
  },
  "hsl": {
    "h": 199.322,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.33001,
    "c": 0.05526,
    "h": 232.7
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#123A4D
secondary
#864F35
accent
#7743E5
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #123A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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