#124273#124273

#124273 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.5% C 0.098 H 252.6°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#124273
RGBrgb(18, 66, 115)
HSLhsl(210, 73%, 26%)
HSVhsv(210, 84%, 45%)
CMYKcmyk(84.3%, 42.6%, 0%, 54.9%)
CIE-LABlab(27.47, 3.55, -32.65)
CIE-LCHlch(27.47, 32.84, 276.20°)
OKLaboklab(37.53% -0.0293 -0.0934)
OKLCHoklch(37.53% 0.098 252.6)
XYZxyz(5.2910, 5.2622, 16.9532)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124273 #734312
analogous
#127273 #124273 #121273
triadic
#124273 #731242 #427312
tetradic
#124273 #731272 #734312 #127312
square
#124273 #731272 #734312 #127312
split-complementary
#124273 #731212 #727312
monochromatic
#040F1A #0A243E #124273 #1A60A8 #237FDD

Accessibility & contrast

On white

10.23
#124273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#124273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124273
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124273#FFFFFF#000000##FFFFFF
##1242731.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4675
Deuteranopia (green-blind)
#1A3D72
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124273;
/* rgb */ color: rgb(18, 66, 115);
/* oklch */ color: oklch(37.5% 0.098 252.6);
Tailwind
colors: {
  custom: {
    50: '#61759b',
    500: '#124273',
    950: '#000000',
  },
}
SCSS
$custom: #124273;
$custom-light: #61759b;
$custom-dark: #000000;
JSON
{
  "hex": "#124273",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 115
  },
  "hsl": {
    "h": 210.309,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37529,
    "c": 0.09788,
    "h": 252.6
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#124273
secondary
#AA7137
accent
#9538F0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #124273

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

Preview Lab → · Contrast checker → · Palette generator →

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