#124875#124875

#124875 is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.2% C 0.094 H 248.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#124875
RGBrgb(18, 72, 117)
HSLhsl(207, 73%, 26%)
HSVhsv(207, 85%, 46%)
CMYKcmyk(84.6%, 38.5%, 0%, 54.1%)
CIE-LABlab(29.53, 0.33, -30.63)
CIE-LCHlch(29.53, 30.63, 270.62°)
OKLaboklab(39.18% -0.0344 -0.0873)
OKLCHoklch(39.18% 0.094 248.5)
XYZxyz(5.7765, 6.0470, 17.6889)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124875 #753F12
analogous
#127571 #124875 #121775
triadic
#124875 #751248 #487512
tetradic
#124875 #711275 #753F12 #177512
square
#124875 #711275 #753F12 #177512
split-complementary
#124875 #751217 #757112
monochromatic
#04101B #0A2740 #124875 #1A69AA #2489DD

Accessibility & contrast

On white

9.50
#124875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#124875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124875
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124875#FFFFFF#000000##FFFFFF
##1248751.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334A77
Deuteranopia (green-blind)
#244274
Tritanopia (blue-blind)
#005359
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #124875;
/* rgb */ color: rgb(18, 72, 117);
/* oklch */ color: oklch(39.2% 0.094 248.5);
Tailwind
colors: {
  custom: {
    50: '#627a9d',
    500: '#124875',
    950: '#000000',
  },
}
SCSS
$custom: #124875;
$custom-light: #627a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#124875",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 207.273,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39183,
    "c": 0.09386,
    "h": 248.5
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#124875
secondary
#AC6C37
accent
#8C38F0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #124875

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

Preview Lab → · Contrast checker → · Palette generator →

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