#154175#154175

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

Color values

HEX#154175
RGBrgb(21, 65, 117)
HSLhsl(213, 70%, 27%)
HSVhsv(213, 82%, 46%)
CMYKcmyk(82.1%, 44.4%, 0%, 54.1%)
CIE-LABlab(27.36, 5.42, -34.08)
CIE-LCHlch(27.36, 34.51, 279.03°)
OKLaboklab(37.51% -0.0262 -0.0976)
OKLCHoklch(37.51% 0.101 255)
XYZxyz(5.4092, 5.2237, 17.5494)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154175 #754915
analogous
#157175 #154175 #191575
triadic
#154175 #751541 #417515
tetradic
#154175 #751571 #754915 #157519
square
#154175 #751571 #754915 #157519
split-complementary
#154175 #751915 #717515
monochromatic
#050E1A #0C2441 #154175 #1E5EA9 #2B7BD9

Accessibility & contrast

On white

10.27
#154175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#154175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154175
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154175#FFFFFF#000000##FFFFFF
##1541751.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274577
Deuteranopia (green-blind)
#153D74
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154175;
/* rgb */ color: rgb(21, 65, 117);
/* oklch */ color: oklch(37.5% 0.101 255.0);
Tailwind
colors: {
  custom: {
    50: '#63759d',
    500: '#154175',
    950: '#000000',
  },
}
SCSS
$custom: #154175;
$custom-light: #63759d;
$custom-dark: #000000;
JSON
{
  "hex": "#154175",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 117
  },
  "hsl": {
    "h": 212.5,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37512,
    "c": 0.10102,
    "h": 255
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

primary
#154175
secondary
#AB783B
accent
#9B3BEC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #154175

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

Preview Lab → · Contrast checker → · Palette generator →

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