#154266#154266

#154266 is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 36.8% C 0.079 H 246.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#154266
RGBrgb(21, 66, 102)
HSLhsl(207, 66%, 24%)
HSVhsv(207, 79%, 40%)
CMYKcmyk(79.4%, 35.3%, 0%, 60%)
CIE-LABlab(26.78, -1.45, -25.46)
CIE-LCHlch(26.78, 25.50, 266.74°)
OKLaboklab(36.76% -0.0314 -0.0723)
OKLCHoklch(36.76% 0.079 246.5)
XYZxyz(4.6548, 5.0146, 13.2904)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154266 #663915
analogous
#156662 #154266 #151966
triadic
#154266 #661542 #426615
tetradic
#154266 #621566 #663915 #196615
square
#154266 #621566 #663915 #196615
split-complementary
#154266 #661519 #666215
monochromatic
#051019 #0B2133 #154266 #1F6399 #2A84CC

Accessibility & contrast

On white

10.48
#154266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#154266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154266
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154266#FFFFFF#000000##FFFFFF
##1542661.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314368
Deuteranopia (green-blind)
#263C65
Tritanopia (blue-blind)
#004B4F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #154266;
/* rgb */ color: rgb(21, 66, 102);
/* oklch */ color: oklch(36.8% 0.079 246.5);
Tailwind
colors: {
  custom: {
    50: '#5f7692',
    500: '#154266',
    950: '#000000',
  },
}
SCSS
$custom: #154266;
$custom-light: #5f7692;
$custom-dark: #000000;
JSON
{
  "hex": "#154266",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 102
  },
  "hsl": {
    "h": 206.667,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.36757,
    "c": 0.07878,
    "h": 246.5
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#154266
secondary
#9D663A
accent
#8A3FE9
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080D
muted
#797B7D

Preview Lab

Preview with #154266

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

Preview Lab → · Contrast checker → · Palette generator →

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