#124175#124175

#124175 is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.4% C 0.102 H 254.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#124175
RGBrgb(18, 65, 117)
HSLhsl(212, 73%, 26%)
HSVhsv(212, 85%, 46%)
CMYKcmyk(84.6%, 44.4%, 0%, 54.1%)
CIE-LABlab(27.28, 5.07, -34.22)
CIE-LCHlch(27.28, 34.59, 278.43°)
OKLaboklab(37.42% -0.0279 -0.098)
OKLCHoklch(37.42% 0.102 254.1)
XYZxyz(5.3494, 5.1929, 17.5466)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124175 #754612
analogous
#127375 #124175 #151275
triadic
#124175 #751241 #417512
tetradic
#124175 #751273 #754612 #127515
square
#124175 #751273 #754612 #127515
split-complementary
#124175 #751512 #737512
monochromatic
#040F1B #0A2440 #124175 #1A5EAA #247CDD

Accessibility & contrast

On white

10.30
#124175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#124175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124175
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124175#FFFFFF#000000##FFFFFF
##1241751.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274577
Deuteranopia (green-blind)
#143C74
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124175;
/* rgb */ color: rgb(18, 65, 117);
/* oklch */ color: oklch(37.4% 0.102 254.1);
Tailwind
colors: {
  custom: {
    50: '#62759d',
    500: '#124175',
    950: '#000000',
  },
}
SCSS
$custom: #124175;
$custom-light: #62759d;
$custom-dark: #000000;
JSON
{
  "hex": "#124175",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 117
  },
  "hsl": {
    "h": 211.515,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37421,
    "c": 0.10192,
    "h": 254.1
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#124175
secondary
#AC7437
accent
#9938F0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #124175

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

Preview Lab → · Contrast checker → · Palette generator →

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