#123F58#123F58

#123F58 is a dark, moderate cyan. Relative luminance 0.044; OKLCH L 35.0% C 0.065 H 237.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#123F58
RGBrgb(18, 63, 88)
HSLhsl(201, 66%, 21%)
HSVhsv(201, 80%, 35%)
CMYKcmyk(79.5%, 28.4%, 0%, 65.5%)
CIE-LABlab(24.91, -5.57, -19.32)
CIE-LCHlch(24.91, 20.11, 253.92°)
OKLaboklab(35.01% -0.0349 -0.0545)
OKLCHoklch(35.01% 0.065 237.4)
XYZxyz(3.7877, 4.3878, 9.8779)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F58 #582B12
analogous
#12584E #123F58 #121C58
triadic
#123F58 #58123F #3F5812
tetradic
#123F58 #4E1258 #582B12 #1C5812
square
#123F58 #4E1258 #582B12 #1C5812
split-complementary
#123F58 #58121C #584E12
monochromatic
#051219 #081B25 #123F58 #1C638B #2788BE

Accessibility & contrast

On white

11.18
#123F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#123F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F58
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F58#FFFFFF#000000##FFFFFF
##123F581.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333F59
Deuteranopia (green-blind)
#2A3858
Tritanopia (blue-blind)
#004548
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123f58;
/* rgb */ color: rgb(18, 63, 88);
/* oklch */ color: oklch(35.0% 0.065 237.4);
Tailwind
colors: {
  custom: {
    50: '#5b7387',
    500: '#123f58',
    950: '#000000',
  },
}
SCSS
$custom: #123f58;
$custom-light: #5b7387;
$custom-dark: #000000;
JSON
{
  "hex": "#123f58",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 88
  },
  "hsl": {
    "h": 201.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3501,
    "c": 0.06471,
    "h": 237.4
  },
  "luminance": 0.04388
}

Semantic roles & 50–950 ramp

primary
#123F58
secondary
#915635
accent
#7C3FE9
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #123F58

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

Preview Lab → · Contrast checker → · Palette generator →

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