#255292#255292

#255292 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.116 H 257.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#255292
RGBrgb(37, 82, 146)
HSLhsl(215, 60%, 36%)
HSVhsv(215, 75%, 57%)
CMYKcmyk(74.7%, 43.8%, 0%, 42.7%)
CIE-LABlab(35.01, 7.75, -39.78)
CIE-LCHlch(35.01, 40.53, 281.03°)
OKLaboklab(44.19% -0.0249 -0.1138)
OKLCHoklch(44.19% 0.116 257.7)
XYZxyz(8.9667, 8.5022, 28.3571)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255292 #926525
analogous
#258892 #255292 #2E2592
triadic
#255292 #922552 #529225
tetradic
#255292 #922588 #926525 #25922E
square
#255292 #922588 #926525 #25922E
split-complementary
#255292 #922E25 #889225
monochromatic
#0C1B30 #193761 #255292 #316DC3 #5C8ED6

Accessibility & contrast

On white

7.78
#255292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#255292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255292
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255292#FFFFFF#000000##FFFFFF
##2552921.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335894
Deuteranopia (green-blind)
#1F4E91
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #255292;
/* rgb */ color: rgb(37, 82, 146);
/* oklch */ color: oklch(44.2% 0.116 257.7);
Tailwind
colors: {
  custom: {
    50: '#6f82b2',
    500: '#255292',
    950: '#000000',
  },
}
SCSS
$custom: #255292;
$custom-light: #6f82b2;
$custom-dark: #000000;
JSON
{
  "hex": "#255292",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 146
  },
  "hsl": {
    "h": 215.229,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44191,
    "c": 0.11645,
    "h": 257.7
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

primary
#255292
secondary
#BA9258
accent
#A245E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #255292

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

Preview Lab → · Contrast checker → · Palette generator →

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