#254262#254262

#254262 is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.2% C 0.066 H 252.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#254262
RGBrgb(37, 66, 98)
HSLhsl(211, 45%, 26%)
HSVhsv(211, 62%, 38%)
CMYKcmyk(62.2%, 32.7%, 0%, 61.6%)
CIE-LABlab(27.22, -0.00, -22.15)
CIE-LCHlch(27.22, 22.15, 270.00°)
OKLaboklab(37.21% -0.0201 -0.0624)
OKLCHoklch(37.21% 0.066 252.1)
XYZxyz(4.9150, 5.1712, 12.2920)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254262 #624525
analogous
#256162 #254262 #272562
triadic
#254262 #622542 #426225
tetradic
#254262 #622561 #624525 #256227
square
#254262 #622561 #624525 #256227
split-complementary
#254262 #622725 #616225
monochromatic
#080F16 #142436 #254262 #36608E #487EBA

Accessibility & contrast

On white

10.32
#254262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#254262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254262
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254262#FFFFFF#000000##FFFFFF
##2542621.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354463
Deuteranopia (green-blind)
#2D3E61
Tritanopia (blue-blind)
#00494D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #254262;
/* rgb */ color: rgb(37, 66, 98);
/* oklch */ color: oklch(37.2% 0.066 252.1);
Tailwind
colors: {
  custom: {
    50: '#65768f',
    500: '#254262',
    950: '#000000',
  },
}
SCSS
$custom: #254262;
$custom-light: #65768f;
$custom-dark: #000000;
JSON
{
  "hex": "#254262",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 211.475,
    "s": 45.185,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37215,
    "c": 0.06559,
    "h": 252.1
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#254262
secondary
#95734E
accent
#9753D5
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #254262

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

Preview Lab → · Contrast checker → · Palette generator →

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