#255294#255294

#255294 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.3% C 0.119 H 258.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#255294
RGBrgb(37, 82, 148)
HSLhsl(216, 60%, 36%)
HSVhsv(216, 75%, 58%)
CMYKcmyk(75%, 44.6%, 0%, 42%)
CIE-LABlab(35.13, 8.53, -40.79)
CIE-LCHlch(35.13, 41.67, 281.82°)
OKLaboklab(44.33% -0.0245 -0.1167)
OKLCHoklch(44.33% 0.119 258.2)
XYZxyz(9.1236, 8.5650, 29.1836)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255294 #946725
analogous
#258A94 #255294 #302594
triadic
#255294 #942552 #529425
tetradic
#255294 #94258A #946725 #259430
square
#255294 #94258A #946725 #259430
split-complementary
#255294 #943025 #8A9425
monochromatic
#0D1C32 #193763 #255294 #316DC5 #5D8ED6

Accessibility & contrast

On white

7.74
#255294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#255294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255294
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255294#FFFFFF#000000##FFFFFF
##2552941.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315897
Deuteranopia (green-blind)
#1C4E93
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255294;
/* rgb */ color: rgb(37, 82, 148);
/* oklch */ color: oklch(44.3% 0.119 258.2);
Tailwind
colors: {
  custom: {
    50: '#6f82b4',
    500: '#255294',
    950: '#000000',
  },
}
SCSS
$custom: #255294;
$custom-light: #6f82b4;
$custom-dark: #000000;
JSON
{
  "hex": "#255294",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 148
  },
  "hsl": {
    "h": 215.676,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44329,
    "c": 0.11928,
    "h": 258.2
  },
  "luminance": 0.08566
}

Semantic roles & 50–950 ramp

primary
#255294
secondary
#BB9459
accent
#A345E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #255294

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

Preview Lab → · Contrast checker → · Palette generator →

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