#124371#124371

#124371 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.6% C 0.094 H 250.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#124371
RGBrgb(18, 67, 113)
HSLhsl(209, 73%, 26%)
HSVhsv(209, 84%, 44%)
CMYKcmyk(84.1%, 40.7%, 0%, 55.7%)
CIE-LABlab(27.67, 2.03, -31.07)
CIE-LCHlch(27.67, 31.13, 273.74°)
OKLaboklab(37.64% -0.0308 -0.0887)
OKLCHoklch(37.64% 0.094 250.8)
XYZxyz(5.2361, 5.3345, 16.3733)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124371 #714012
analogous
#12716F #124371 #121371
triadic
#124371 #711243 #437112
tetradic
#124371 #6F1271 #714012 #137112
square
#124371 #6F1271 #714012 #137112
split-complementary
#124371 #711213 #716F12
monochromatic
#04101A #0A243C #124371 #1A62A6 #2382DB

Accessibility & contrast

On white

10.16
#124371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#124371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124371
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124371#FFFFFF#000000##FFFFFF
##1243711.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#1E3D70
Tritanopia (blue-blind)
#004E54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124371;
/* rgb */ color: rgb(18, 67, 113);
/* oklch */ color: oklch(37.6% 0.094 250.8);
Tailwind
colors: {
  custom: {
    50: '#61769a',
    500: '#124371',
    950: '#000000',
  },
}
SCSS
$custom: #124371;
$custom-light: #61769a;
$custom-dark: #000000;
JSON
{
  "hex": "#124371",
  "rgb": {
    "r": 18,
    "g": 67,
    "b": 113
  },
  "hsl": {
    "h": 209.053,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37643,
    "c": 0.09391,
    "h": 250.8
  },
  "luminance": 0.05335
}

Semantic roles & 50–950 ramp

primary
#124371
secondary
#A86E37
accent
#9139EF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #124371

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

Preview Lab → · Contrast checker → · Palette generator →

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