#124255#124255

#124255 is a dark, muted cyan. Relative luminance 0.047; OKLCH L 35.7% C 0.060 H 228.6°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#124255
RGBrgb(18, 66, 85)
HSLhsl(197, 65%, 20%)
HSVhsv(197, 79%, 33%)
CMYKcmyk(78.8%, 22.4%, 0%, 66.7%)
CIE-LABlab(25.80, -8.67, -15.98)
CIE-LCHlch(25.80, 18.18, 241.51°)
OKLaboklab(35.67% -0.0395 -0.0448)
OKLCHoklch(35.67% 0.06 228.6)
XYZxyz(3.8367, 4.6805, 9.2938)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124255 #552512
analogous
#125546 #124255 #122055
triadic
#124255 #551242 #425512
tetradic
#124255 #461255 #552512 #205512
square
#124255 #461255 #552512 #205512
split-complementary
#124255 #551220 #554612
monochromatic
#051419 #071B22 #124255 #1D6988 #2790BA

Accessibility & contrast

On white

10.85
#124255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#124255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124255
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124255#FFFFFF#000000##FFFFFF
##1242551.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384156
Deuteranopia (green-blind)
#2F3A55
Tritanopia (blue-blind)
#004748
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #124255;
/* rgb */ color: rgb(18, 66, 85);
/* oklch */ color: oklch(35.7% 0.060 228.6);
Tailwind
colors: {
  custom: {
    50: '#5b7685',
    500: '#124255',
    950: '#000000',
  },
}
SCSS
$custom: #124255;
$custom-light: #5b7685;
$custom-dark: #000000;
JSON
{
  "hex": "#124255",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 85
  },
  "hsl": {
    "h": 197.015,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3567,
    "c": 0.05976,
    "h": 228.6
  },
  "luminance": 0.04681
}

Semantic roles & 50–950 ramp

primary
#124255
secondary
#8E4E35
accent
#6F40E8
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #124255

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

Preview Lab → · Contrast checker → · Palette generator →

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