#124B8E#124B8E

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

Color values

HEX#124B8E
RGBrgb(18, 75, 142)
HSLhsl(212, 78%, 31%)
HSVhsv(212, 87%, 56%)
CMYKcmyk(87.3%, 47.2%, 0%, 44.3%)
CIE-LABlab(32.06, 8.68, -42.09)
CIE-LCHlch(32.06, 42.98, 281.65°)
OKLaboklab(41.67% -0.031 -0.1209)
OKLCHoklch(41.67% 0.125 255.6)
XYZxyz(7.6462, 7.1128, 26.5558)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B8E #8E5512
analogous
#12898E #124B8E #17128E
triadic
#124B8E #8E124B #4B8E12
tetradic
#124B8E #8E1289 #8E5512 #128E17
square
#124B8E #8E1289 #8E5512 #128E17
split-complementary
#124B8E #8E1712 #898E12
monochromatic
#041221 #0B2E58 #124B8E #1968C4 #3586E5

Accessibility & contrast

On white

8.67
#124B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#124B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124B8E
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124B8E#FFFFFF#000000##FFFFFF
##124B8E1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265191
Deuteranopia (green-blind)
#04468D
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #124b8e;
/* rgb */ color: rgb(18, 75, 142);
/* oklch */ color: oklch(41.7% 0.125 255.6);
Tailwind
colors: {
  custom: {
    50: '#687caf',
    500: '#124b8e',
    950: '#000000',
  },
}
SCSS
$custom: #124b8e;
$custom-light: #687caf;
$custom-dark: #000000;
JSON
{
  "hex": "#124b8e",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 142
  },
  "hsl": {
    "h": 212.419,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41669,
    "c": 0.12485,
    "h": 255.6
  },
  "luminance": 0.07114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #124B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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