#124374#124374

#124374 is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 37.9% C 0.098 H 252.2°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#124374
RGBrgb(18, 67, 116)
HSLhsl(210, 73%, 26%)
HSVhsv(210, 84%, 45%)
CMYKcmyk(84.5%, 42.2%, 0%, 54.5%)
CIE-LABlab(27.85, 3.28, -32.67)
CIE-LCHlch(27.85, 32.83, 275.74°)
OKLaboklab(37.85% -0.03 -0.0934)
OKLCHoklch(37.85% 0.098 252.2)
XYZxyz(5.4078, 5.4032, 17.2775)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124374 #744312
analogous
#127474 #124374 #121274
triadic
#124374 #741243 #437412
tetradic
#124374 #741274 #744312 #127412
square
#124374 #741274 #744312 #127412
split-complementary
#124374 #741212 #747412
monochromatic
#040F1A #0A243F #124374 #1A62A9 #2380DD

Accessibility & contrast

On white

10.09
#124374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#124374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124374
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124374#FFFFFF#000000##FFFFFF
##1243741.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4776
Deuteranopia (green-blind)
#1B3E73
Tritanopia (blue-blind)
#004F55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124374;
/* rgb */ color: rgb(18, 67, 116);
/* oklch */ color: oklch(37.9% 0.098 252.2);
Tailwind
colors: {
  custom: {
    50: '#62769c',
    500: '#124374',
    950: '#000000',
  },
}
SCSS
$custom: #124374;
$custom-light: #62769c;
$custom-dark: #000000;
JSON
{
  "hex": "#124374",
  "rgb": {
    "r": 18,
    "g": 67,
    "b": 116
  },
  "hsl": {
    "h": 210,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3785,
    "c": 0.09811,
    "h": 252.2
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#124374
secondary
#AB7137
accent
#9438F0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #124374

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

Preview Lab → · Contrast checker → · Palette generator →

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