#123958#123958

#123958 is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.4% C 0.070 H 246.2°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#123958
RGBrgb(18, 57, 88)
HSLhsl(207, 66%, 21%)
HSVhsv(207, 80%, 35%)
CMYKcmyk(79.5%, 35.2%, 0%, 65.5%)
CIE-LABlab(22.86, -1.57, -22.55)
CIE-LCHlch(22.86, 22.61, 266.02°)
OKLaboklab(33.38% -0.0282 -0.064)
OKLCHoklch(33.38% 0.07 246.2)
XYZxyz(3.4734, 3.7590, 9.7731)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123958 #583112
analogous
#125854 #123958 #121658
triadic
#123958 #581239 #395812
tetradic
#123958 #541258 #583112 #165812
square
#123958 #541258 #583112 #165812
split-complementary
#123958 #581216 #585412
monochromatic
#051019 #081825 #123958 #1C5A8B #277BBE

Accessibility & contrast

On white

11.99
#123958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#123958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123958
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123958#FFFFFF#000000##FFFFFF
##1239581.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A59
Deuteranopia (green-blind)
#213457
Tritanopia (blue-blind)
#004044
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123958;
/* rgb */ color: rgb(18, 57, 88);
/* oklch */ color: oklch(33.4% 0.070 246.2);
Tailwind
colors: {
  custom: {
    50: '#5b6f87',
    500: '#123958',
    950: '#000000',
  },
}
SCSS
$custom: #123958;
$custom-light: #5b6f87;
$custom-dark: #000000;
JSON
{
  "hex": "#123958",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 88
  },
  "hsl": {
    "h": 206.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33383,
    "c": 0.0699,
    "h": 246.2
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#123958
secondary
#915E35
accent
#8A3FE9
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123958

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

Preview Lab → · Contrast checker → · Palette generator →

#123958 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva