#123057#123057

#123057 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.9% C 0.079 H 256.2°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#123057
RGBrgb(18, 48, 87)
HSLhsl(214, 66%, 21%)
HSVhsv(214, 79%, 34%)
CMYKcmyk(79.3%, 44.8%, 0%, 65.9%)
CIE-LABlab(19.76, 4.32, -26.80)
CIE-LCHlch(19.76, 27.15, 279.16°)
OKLaboklab(30.94% -0.0188 -0.0766)
OKLCHoklch(30.94% 0.079 256.2)
XYZxyz(3.0261, 2.9303, 9.4211)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123057 #573912
analogous
#125257 #123057 #161257
triadic
#123057 #571230 #305712
tetradic
#123057 #571252 #573912 #125716
square
#123057 #571252 #573912 #125716
split-complementary
#123057 #571612 #525712
monochromatic
#050E19 #081424 #123057 #1C4C8A #2768BC

Accessibility & contrast

On white

13.24
#123057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123057
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123057#FFFFFF#000000##FFFFFF
##1230571.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3359
Deuteranopia (green-blind)
#122D56
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #123057;
/* rgb */ color: rgb(18, 48, 87);
/* oklch */ color: oklch(30.9% 0.079 256.2);
Tailwind
colors: {
  custom: {
    50: '#5b6786',
    500: '#123057',
    950: '#000000',
  },
}
SCSS
$custom: #123057;
$custom-light: #5b6786;
$custom-dark: #000000;
JSON
{
  "hex": "#123057",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 87
  },
  "hsl": {
    "h": 213.913,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3094,
    "c": 0.07884,
    "h": 256.2
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#123057
secondary
#906835
accent
#9F3FE9
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123057

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

Preview Lab → · Contrast checker → · Palette generator →

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