#254161#254161

#254161 is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 36.9% C 0.065 H 252.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#254161
RGBrgb(37, 65, 97)
HSLhsl(212, 45%, 26%)
HSVhsv(212, 62%, 38%)
CMYKcmyk(61.9%, 33%, 0%, 62%)
CIE-LABlab(26.84, 0.29, -22.10)
CIE-LCHlch(26.84, 22.10, 270.76°)
OKLaboklab(36.9% -0.0192 -0.0623)
OKLCHoklch(36.9% 0.065 252.8)
XYZxyz(4.8101, 5.0366, 12.0256)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254161 #614525
analogous
#255F61 #254161 #272561
triadic
#254161 #612541 #416125
tetradic
#254161 #61255F #614525 #256127
square
#254161 #61255F #614525 #256127
split-complementary
#254161 #612725 #5F6125
monochromatic
#080F16 #142335 #254161 #365F8D #477CB9

Accessibility & contrast

On white

10.46
#254161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#254161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254161
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254161#FFFFFF#000000##FFFFFF
##2541611.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344362
Deuteranopia (green-blind)
#2C3D60
Tritanopia (blue-blind)
#00484C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #254161;
/* rgb */ color: rgb(37, 65, 97);
/* oklch */ color: oklch(36.9% 0.065 252.8);
Tailwind
colors: {
  custom: {
    50: '#65758e',
    500: '#254161',
    950: '#000000',
  },
}
SCSS
$custom: #254161;
$custom-light: #65758e;
$custom-dark: #000000;
JSON
{
  "hex": "#254161",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 97
  },
  "hsl": {
    "h": 212,
    "s": 44.776,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36901,
    "c": 0.06518,
    "h": 252.8
  },
  "luminance": 0.05037
}

Semantic roles & 50–950 ramp

primary
#254161
secondary
#94734E
accent
#9853D4
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #254161

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

Preview Lab → · Contrast checker → · Palette generator →

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