#254362#254362

#254362 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.5% C 0.065 H 250.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#254362
RGBrgb(37, 67, 98)
HSLhsl(210, 45%, 26%)
HSVhsv(210, 62%, 38%)
CMYKcmyk(62.2%, 31.6%, 0%, 61.6%)
CIE-LABlab(27.54, -0.66, -21.64)
CIE-LCHlch(27.54, 21.65, 268.24°)
OKLaboklab(37.47% -0.0214 -0.0609)
OKLCHoklch(37.47% 0.065 250.6)
XYZxyz(4.9739, 5.2890, 12.3117)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254362 #624425
analogous
#256262 #254362 #262562
triadic
#254362 #622543 #436225
tetradic
#254362 #622562 #624425 #256226
square
#254362 #622562 #624425 #256226
split-complementary
#254362 #622625 #626225
monochromatic
#080F16 #142536 #254362 #36618E #4880BA

Accessibility & contrast

On white

10.21
#254362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#254362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254362
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254362#FFFFFF#000000##FFFFFF
##2543621.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364463
Deuteranopia (green-blind)
#2E3E61
Tritanopia (blue-blind)
#004A4E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #254362;
/* rgb */ color: rgb(37, 67, 98);
/* oklch */ color: oklch(37.5% 0.065 250.6);
Tailwind
colors: {
  custom: {
    50: '#65768f',
    500: '#254362',
    950: '#000000',
  },
}
SCSS
$custom: #254362;
$custom-light: #65768f;
$custom-dark: #000000;
JSON
{
  "hex": "#254362",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 98
  },
  "hsl": {
    "h": 210.492,
    "s": 45.185,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37471,
    "c": 0.06458,
    "h": 250.6
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#254362
secondary
#95724E
accent
#9553D5
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #254362

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

Preview Lab → · Contrast checker → · Palette generator →

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