#124074#124074

#124074 is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.1% C 0.102 H 254.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#124074
RGBrgb(18, 64, 116)
HSLhsl(212, 73%, 26%)
HSVhsv(212, 84%, 45%)
CMYKcmyk(84.5%, 44.8%, 0%, 54.5%)
CIE-LABlab(26.89, 5.34, -34.20)
CIE-LCHlch(26.89, 34.62, 278.88°)
OKLaboklab(37.1% -0.0273 -0.098)
OKLCHoklch(37.1% 0.102 254.4)
XYZxyz(5.2341, 5.0557, 17.2196)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124074 #744612
analogous
#127174 #124074 #151274
triadic
#124074 #741240 #407412
tetradic
#124074 #741271 #744612 #127415
square
#124074 #741271 #744612 #127415
split-complementary
#124074 #741512 #717412
monochromatic
#040F1A #0A233F #124074 #1A5DA9 #237BDD

Accessibility & contrast

On white

10.44
#124074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#124074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124074
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124074#FFFFFF#000000##FFFFFF
##1240741.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264476
Deuteranopia (green-blind)
#133B73
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124074;
/* rgb */ color: rgb(18, 64, 116);
/* oklch */ color: oklch(37.1% 0.102 254.4);
Tailwind
colors: {
  custom: {
    50: '#62749c',
    500: '#124074',
    950: '#000000',
  },
}
SCSS
$custom: #124074;
$custom-light: #62749c;
$custom-dark: #000000;
JSON
{
  "hex": "#124074",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 211.837,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37101,
    "c": 0.10172,
    "h": 254.4
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#124074
secondary
#AB7437
accent
#9A38F0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #124074

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

Preview Lab → · Contrast checker → · Palette generator →

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