#124274#124274

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

Color values

HEX#124274
RGBrgb(18, 66, 116)
HSLhsl(211, 73%, 26%)
HSVhsv(211, 84%, 45%)
CMYKcmyk(84.5%, 43.1%, 0%, 54.5%)
CIE-LABlab(27.53, 3.97, -33.18)
CIE-LCHlch(27.53, 33.42, 276.82°)
OKLaboklab(37.6% -0.0291 -0.0949)
OKLCHoklch(37.6% 0.099 253)
XYZxyz(5.3489, 5.2853, 17.2579)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124274 #744412
analogous
#127374 #124274 #131274
triadic
#124274 #741242 #427412
tetradic
#124274 #741273 #744412 #127413
square
#124274 #741273 #744412 #127413
split-complementary
#124274 #741312 #737412
monochromatic
#040F1A #0A243F #124274 #1A60A9 #237EDD

Accessibility & contrast

On white

10.21
#124274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#124274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124274
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124274#FFFFFF#000000##FFFFFF
##1242741.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#183D73
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124274;
/* rgb */ color: rgb(18, 66, 116);
/* oklch */ color: oklch(37.6% 0.099 253.0);
Tailwind
colors: {
  custom: {
    50: '#62759c',
    500: '#124274',
    950: '#000000',
  },
}
SCSS
$custom: #124274;
$custom-light: #62759c;
$custom-dark: #000000;
JSON
{
  "hex": "#124274",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 210.612,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37599,
    "c": 0.0993,
    "h": 253
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#124274
secondary
#AB7237
accent
#9638F0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #124274

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

Preview Lab → · Contrast checker → · Palette generator →

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