#123058#123058

#123058 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 31.0% C 0.080 H 256.6°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#123058
RGBrgb(18, 48, 88)
HSLhsl(214, 66%, 21%)
HSVhsv(214, 80%, 35%)
CMYKcmyk(79.5%, 45.5%, 0%, 65.5%)
CIE-LABlab(19.83, 4.75, -27.36)
CIE-LCHlch(19.83, 27.77, 279.85°)
OKLaboklab(31.01% -0.0186 -0.0782)
OKLCHoklch(31.01% 0.08 256.6)
XYZxyz(3.0672, 2.9467, 9.6378)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123058 #583A12
analogous
#125358 #123058 #171258
triadic
#123058 #581230 #305812
tetradic
#123058 #581253 #583A12 #125817
square
#123058 #581253 #583A12 #125817
split-complementary
#123058 #581712 #535812
monochromatic
#050E19 #081425 #123058 #1C4C8B #2767BE

Accessibility & contrast

On white

13.21
#123058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#123058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123058
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123058#FFFFFF#000000##FFFFFF
##1230581.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D335A
Deuteranopia (green-blind)
#112D57
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #123058;
/* rgb */ color: rgb(18, 48, 88);
/* oklch */ color: oklch(31.0% 0.080 256.6);
Tailwind
colors: {
  custom: {
    50: '#5b6787',
    500: '#123058',
    950: '#000000',
  },
}
SCSS
$custom: #123058;
$custom-light: #5b6787;
$custom-dark: #000000;
JSON
{
  "hex": "#123058",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 88
  },
  "hsl": {
    "h": 214.286,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31013,
    "c": 0.08038,
    "h": 256.6
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#123058
secondary
#916935
accent
#A03FE9
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123058

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

Preview Lab → · Contrast checker → · Palette generator →

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