#124257#124257

#124257 is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 35.8% C 0.062 H 231.2°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#124257
RGBrgb(18, 66, 87)
HSLhsl(198, 66%, 21%)
HSVhsv(198, 79%, 34%)
CMYKcmyk(79.3%, 24.1%, 0%, 65.9%)
CIE-LABlab(25.90, -7.89, -17.14)
CIE-LCHlch(25.90, 18.87, 245.27°)
OKLaboklab(35.78% -0.0387 -0.0482)
OKLCHoklch(35.78% 0.062 231.2)
XYZxyz(3.9173, 4.7127, 9.7182)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124257 #572712
analogous
#125749 #124257 #121F57
triadic
#124257 #571242 #425712
tetradic
#124257 #491257 #572712 #1F5712
square
#124257 #491257 #572712 #1F5712
split-complementary
#124257 #57121F #574912
monochromatic
#051319 #081C24 #124257 #1C688A #278FBC

Accessibility & contrast

On white

10.81
#124257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#124257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124257
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124257#FFFFFF#000000##FFFFFF
##1242571.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374158
Deuteranopia (green-blind)
#2E3A57
Tritanopia (blue-blind)
#004849
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #124257;
/* rgb */ color: rgb(18, 66, 87);
/* oklch */ color: oklch(35.8% 0.062 231.2);
Tailwind
colors: {
  custom: {
    50: '#5b7686',
    500: '#124257',
    950: '#000000',
  },
}
SCSS
$custom: #124257;
$custom-light: #5b7686;
$custom-dark: #000000;
JSON
{
  "hex": "#124257",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 87
  },
  "hsl": {
    "h": 198.261,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.35778,
    "c": 0.06176,
    "h": 231.2
  },
  "luminance": 0.04713
}

Semantic roles & 50–950 ramp

primary
#124257
secondary
#905135
accent
#733FE9
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #124257

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

Preview Lab → · Contrast checker → · Palette generator →

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