#123255#123255

#123255 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.3% C 0.073 H 252.9°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#123255
RGBrgb(18, 50, 85)
HSLhsl(211, 65%, 20%)
HSVhsv(211, 79%, 33%)
CMYKcmyk(78.8%, 41.2%, 0%, 66.7%)
CIE-LABlab(20.30, 2.04, -24.61)
CIE-LCHlch(20.30, 24.69, 274.75°)
OKLaboklab(31.32% -0.0215 -0.0701)
OKLCHoklch(31.32% 0.073 252.9)
XYZxyz(3.0291, 3.0653, 9.0246)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123255 #553512
analogous
#125455 #123255 #131255
triadic
#123255 #551232 #325512
tetradic
#123255 #551254 #553512 #125513
square
#123255 #551254 #553512 #125513
split-complementary
#123255 #551312 #545512
monochromatic
#050F19 #071422 #123255 #1D5088 #276DBA

Accessibility & contrast

On white

13.02
#123255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#123255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123255
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123255#FFFFFF#000000##FFFFFF
##1232551.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223456
Deuteranopia (green-blind)
#182E54
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #123255;
/* rgb */ color: rgb(18, 50, 85);
/* oklch */ color: oklch(31.3% 0.073 252.9);
Tailwind
colors: {
  custom: {
    50: '#5a6985',
    500: '#123255',
    950: '#000000',
  },
}
SCSS
$custom: #123255;
$custom-light: #5a6985;
$custom-dark: #000000;
JSON
{
  "hex": "#123255",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 85
  },
  "hsl": {
    "h": 211.343,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31319,
    "c": 0.07333,
    "h": 252.9
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#123255
secondary
#8E6335
accent
#9840E8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123255

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

Preview Lab → · Contrast checker → · Palette generator →

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