#124B8F#124B8F

#124B8F is a dark, vivid cyan. Relative luminance 0.071; OKLCH L 41.7% C 0.126 H 255.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#124B8F
RGBrgb(18, 75, 143)
HSLhsl(213, 78%, 32%)
HSVhsv(213, 87%, 56%)
CMYKcmyk(87.4%, 47.6%, 0%, 43.9%)
CIE-LABlab(32.13, 9.09, -42.59)
CIE-LCHlch(32.13, 43.55, 282.05°)
OKLaboklab(41.74% -0.0308 -0.1224)
OKLCHoklch(41.74% 0.126 255.9)
XYZxyz(7.7216, 7.1429, 26.9530)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B8F #8F5612
analogous
#128A8F #124B8F #18128F
triadic
#124B8F #8F124B #4B8F12
tetradic
#124B8F #8F128A #8F5612 #128F18
square
#124B8F #8F128A #8F5612 #128F18
split-complementary
#124B8F #8F1812 #8A8F12
monochromatic
#041222 #0B2E59 #124B8F #1968C5 #3686E6

Accessibility & contrast

On white

8.65
#124B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#124B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124B8F
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124B8F#FFFFFF#000000##FFFFFF
##124B8F1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255192
Deuteranopia (green-blind)
#01468E
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #124b8f;
/* rgb */ color: rgb(18, 75, 143);
/* oklch */ color: oklch(41.7% 0.126 255.9);
Tailwind
colors: {
  custom: {
    50: '#697cb0',
    500: '#124b8f',
    950: '#000000',
  },
}
SCSS
$custom: #124b8f;
$custom-light: #697cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#124b8f",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 143
  },
  "hsl": {
    "h": 212.64,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41743,
    "c": 0.12624,
    "h": 255.9
  },
  "luminance": 0.07144
}

Semantic roles & 50–950 ramp

primary
#124B8F
secondary
#C3843A
accent
#9C34F4
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #124B8F

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

Preview Lab → · Contrast checker → · Palette generator →

#124B8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva