#123F54#123F54

#123F54 is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 34.8% C 0.060 H 232.7°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#123F54
RGBrgb(18, 63, 84)
HSLhsl(199, 65%, 20%)
HSVhsv(199, 79%, 33%)
CMYKcmyk(78.6%, 25%, 0%, 67.1%)
CIE-LABlab(24.71, -7.16, -17.02)
CIE-LCHlch(24.71, 18.46, 247.19°)
OKLaboklab(34.78% -0.0365 -0.0478)
OKLCHoklch(34.78% 0.06 232.7)
XYZxyz(3.6266, 4.3233, 9.0291)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F54 #542712
analogous
#125448 #123F54 #121E54
triadic
#123F54 #54123F #3F5412
tetradic
#123F54 #481254 #542712 #1E5412
square
#123F54 #481254 #542712 #1E5412
split-complementary
#123F54 #54121E #544812
monochromatic
#051319 #071922 #123F54 #1D6586 #288BB9

Accessibility & contrast

On white

11.26
#123F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#123F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F54
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F54#FFFFFF#000000##FFFFFF
##123F541.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353E55
Deuteranopia (green-blind)
#2C3854
Tritanopia (blue-blind)
#004546
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123f54;
/* rgb */ color: rgb(18, 63, 84);
/* oklch */ color: oklch(34.8% 0.060 232.7);
Tailwind
colors: {
  custom: {
    50: '#5a7484',
    500: '#123f54',
    950: '#000000',
  },
}
SCSS
$custom: #123f54;
$custom-light: #5a7484;
$custom-dark: #000000;
JSON
{
  "hex": "#123f54",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 84
  },
  "hsl": {
    "h": 199.091,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.34783,
    "c": 0.06016,
    "h": 232.7
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#123F54
secondary
#8D5135
accent
#7540E8
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080A
muted
#797B7C

Preview Lab

Preview with #123F54

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

Preview Lab → · Contrast checker → · Palette generator →

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