#124272#124272

#124272 is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.5% C 0.096 H 252.1°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#124272
RGBrgb(18, 66, 114)
HSLhsl(210, 73%, 26%)
HSVhsv(210, 84%, 45%)
CMYKcmyk(84.2%, 42.1%, 0%, 55.3%)
CIE-LABlab(27.41, 3.13, -32.12)
CIE-LCHlch(27.41, 32.27, 275.56°)
OKLaboklab(37.46% -0.0296 -0.0918)
OKLCHoklch(37.46% 0.096 252.1)
XYZxyz(5.2338, 5.2393, 16.6518)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124272 #724212
analogous
#127272 #124272 #121272
triadic
#124272 #721242 #427212
tetradic
#124272 #721272 #724212 #127212
square
#124272 #721272 #724212 #127212
split-complementary
#124272 #721212 #727212
monochromatic
#040F1A #0A233D #124272 #1A61A7 #237FDC

Accessibility & contrast

On white

10.25
#124272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124272
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124272#FFFFFF#000000##FFFFFF
##1242721.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4574
Deuteranopia (green-blind)
#1B3D71
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124272;
/* rgb */ color: rgb(18, 66, 114);
/* oklch */ color: oklch(37.5% 0.096 252.1);
Tailwind
colors: {
  custom: {
    50: '#61759b',
    500: '#124272',
    950: '#000000',
  },
}
SCSS
$custom: #124272;
$custom-light: #61759b;
$custom-dark: #000000;
JSON
{
  "hex": "#124272",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 114
  },
  "hsl": {
    "h": 210,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37459,
    "c": 0.09647,
    "h": 252.1
  },
  "luminance": 0.0524
}

Semantic roles & 50–950 ramp

primary
#124272
secondary
#A97037
accent
#9438EF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #124272

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

Preview Lab → · Contrast checker → · Palette generator →

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