#154262#154262

#154262 is a dark, moderate cyan. Relative luminance 0.049; OKLCH L 36.5% C 0.073 H 243.6°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#154262
RGBrgb(21, 66, 98)
HSLhsl(205, 65%, 23%)
HSVhsv(205, 79%, 38%)
CMYKcmyk(78.6%, 32.7%, 0%, 61.6%)
CIE-LABlab(26.56, -3.07, -23.23)
CIE-LCHlch(26.56, 23.44, 262.48°)
OKLaboklab(36.51% -0.0327 -0.0658)
OKLCHoklch(36.51% 0.073 243.6)
XYZxyz(4.4612, 4.9372, 12.2708)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154262 #623515
analogous
#15625B #154262 #151B62
triadic
#154262 #621542 #426215
tetradic
#154262 #5B1562 #623515 #1B6215
square
#154262 #5B1562 #623515 #1B6215
split-complementary
#154262 #62151B #625B15
monochromatic
#051119 #0A2030 #154262 #206494 #2B86C7

Accessibility & contrast

On white

10.57
#154262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#154262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154262
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154262#FFFFFF#000000##FFFFFF
##1542621.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334363
Deuteranopia (green-blind)
#293C61
Tritanopia (blue-blind)
#004A4D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #154262;
/* rgb */ color: rgb(21, 66, 98);
/* oklch */ color: oklch(36.5% 0.073 243.6);
Tailwind
colors: {
  custom: {
    50: '#5e768f',
    500: '#154262',
    950: '#000000',
  },
}
SCSS
$custom: #154262;
$custom-light: #5e768f;
$custom-dark: #000000;
JSON
{
  "hex": "#154262",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 204.935,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3651,
    "c": 0.07347,
    "h": 243.6
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#154262
secondary
#99613A
accent
#8640E8
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #154262

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

Preview Lab → · Contrast checker → · Palette generator →

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