#124380#124380

#124380 is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.7% C 0.115 H 256.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#124380
RGBrgb(18, 67, 128)
HSLhsl(213, 75%, 29%)
HSVhsv(213, 86%, 50%)
CMYKcmyk(85.9%, 47.7%, 0%, 49.8%)
CIE-LABlab(28.64, 8.31, -38.94)
CIE-LCHlch(28.64, 39.81, 282.05°)
OKLaboklab(38.72% -0.0273 -0.1118)
OKLCHoklch(38.72% 0.115 256.3)
XYZxyz(6.1514, 5.7007, 21.1940)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124380 #804F12
analogous
#127A80 #124380 #181280
triadic
#124380 #801243 #438012
tetradic
#124380 #80127A #804F12 #128018
square
#124380 #80127A #804F12 #128018
split-complementary
#124380 #801812 #7A8012
monochromatic
#040E1B #0A274A #124380 #1A5FB6 #2B7CE1

Accessibility & contrast

On white

9.81
#124380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#124380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124380
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124380#FFFFFF#000000##FFFFFF
##1243801.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224982
Deuteranopia (green-blind)
#043F7F
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124380;
/* rgb */ color: rgb(18, 67, 128);
/* oklch */ color: oklch(38.7% 0.115 256.3);
Tailwind
colors: {
  custom: {
    50: '#6576a5',
    500: '#124380',
    950: '#000000',
  },
}
SCSS
$custom: #124380;
$custom-light: #6576a5;
$custom-dark: #000000;
JSON
{
  "hex": "#124380",
  "rgb": {
    "r": 18,
    "g": 67,
    "b": 128
  },
  "hsl": {
    "h": 213.273,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38719,
    "c": 0.11512,
    "h": 256.3
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#124380
secondary
#B67E38
accent
#9E36F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #124380

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

Preview Lab → · Contrast checker → · Palette generator →

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