#154275#154275

#154275 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.8% C 0.100 H 254.2°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#154275
RGBrgb(21, 66, 117)
HSLhsl(212, 70%, 27%)
HSVhsv(212, 82%, 46%)
CMYKcmyk(82.1%, 43.6%, 0%, 54.1%)
CIE-LABlab(27.68, 4.73, -33.57)
CIE-LCHlch(27.68, 33.90, 278.02°)
OKLaboklab(37.76% -0.0271 -0.096)
OKLCHoklch(37.76% 0.1 254.2)
XYZxyz(5.4672, 5.3396, 17.5687)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154275 #754815
analogous
#157275 #154275 #181575
triadic
#154275 #751542 #427515
tetradic
#154275 #751572 #754815 #157518
square
#154275 #751572 #754815 #157518
split-complementary
#154275 #751815 #727515
monochromatic
#050F1A #0C2541 #154275 #1E5FA9 #2B7DD9

Accessibility & contrast

On white

10.15
#154275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#154275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154275
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154275#FFFFFF#000000##FFFFFF
##1542751.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294677
Deuteranopia (green-blind)
#183D74
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154275;
/* rgb */ color: rgb(21, 66, 117);
/* oklch */ color: oklch(37.8% 0.100 254.2);
Tailwind
colors: {
  custom: {
    50: '#63759d',
    500: '#154275',
    950: '#000000',
  },
}
SCSS
$custom: #154275;
$custom-light: #63759d;
$custom-dark: #000000;
JSON
{
  "hex": "#154275",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 117
  },
  "hsl": {
    "h": 211.875,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3776,
    "c": 0.09981,
    "h": 254.2
  },
  "luminance": 0.0534
}

Semantic roles & 50–950 ramp

primary
#154275
secondary
#AB763B
accent
#993BEC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #154275

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

Preview Lab → · Contrast checker → · Palette generator →

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