#123155#123155

#123155 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.1% C 0.075 H 254.1°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#123155
RGBrgb(18, 49, 85)
HSLhsl(212, 65%, 20%)
HSVhsv(212, 79%, 33%)
CMYKcmyk(78.8%, 42.4%, 0%, 66.7%)
CIE-LABlab(19.97, 2.75, -25.14)
CIE-LCHlch(19.97, 25.29, 276.25°)
OKLaboklab(31.06% -0.0204 -0.0717)
OKLCHoklch(31.06% 0.075 254.1)
XYZxyz(2.9869, 2.9808, 9.0105)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123155 #553612
analogous
#125255 #123155 #141255
triadic
#123155 #551231 #315512
tetradic
#123155 #551252 #553612 #125514
square
#123155 #551252 #553612 #125514
split-complementary
#123155 #551412 #525512
monochromatic
#050F19 #071422 #123155 #1D4E88 #276BBA

Accessibility & contrast

On white

13.16
#123155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#123155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123155
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123155#FFFFFF#000000##FFFFFF
##1231551.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203456
Deuteranopia (green-blind)
#162D54
Tritanopia (blue-blind)
#00393E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #123155;
/* rgb */ color: rgb(18, 49, 85);
/* oklch */ color: oklch(31.1% 0.075 254.1);
Tailwind
colors: {
  custom: {
    50: '#5a6885',
    500: '#123155',
    950: '#000000',
  },
}
SCSS
$custom: #123155;
$custom-light: #5a6885;
$custom-dark: #000000;
JSON
{
  "hex": "#123155",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 85
  },
  "hsl": {
    "h": 212.239,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31056,
    "c": 0.07453,
    "h": 254.1
  },
  "luminance": 0.02981
}

Semantic roles & 50–950 ramp

primary
#123155
secondary
#8E6535
accent
#9A40E8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123155

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

Preview Lab → · Contrast checker → · Palette generator →

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