#255296#255296

#255296 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.122 H 258.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#255296
RGBrgb(37, 82, 150)
HSLhsl(216, 60%, 37%)
HSVhsv(216, 75%, 59%)
CMYKcmyk(75.3%, 45.3%, 0%, 41.2%)
CIE-LABlab(35.26, 9.32, -41.80)
CIE-LCHlch(35.26, 42.82, 282.56°)
OKLaboklab(44.47% -0.0241 -0.1197)
OKLCHoklch(44.47% 0.122 258.6)
XYZxyz(9.2833, 8.6289, 30.0245)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255296 #966925
analogous
#258B96 #255296 #302596
triadic
#255296 #962552 #529625
tetradic
#255296 #96258B #966925 #259630
square
#255296 #96258B #966925 #259630
split-complementary
#255296 #963025 #8B9625
monochromatic
#0D1C34 #193765 #255296 #316DC7 #5E8ED7

Accessibility & contrast

On white

7.70
#255296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#255296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255296
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255296#FFFFFF#000000##FFFFFF
##2552961.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305899
Deuteranopia (green-blind)
#194E95
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255296;
/* rgb */ color: rgb(37, 82, 150);
/* oklch */ color: oklch(44.5% 0.122 258.6);
Tailwind
colors: {
  custom: {
    50: '#7082b5',
    500: '#255296',
    950: '#000000',
  },
}
SCSS
$custom: #255296;
$custom-light: #7082b5;
$custom-dark: #000000;
JSON
{
  "hex": "#255296",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 216.106,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44468,
    "c": 0.1221,
    "h": 258.6
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#255296
secondary
#BC955B
accent
#A444E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #255296

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

Preview Lab → · Contrast checker → · Palette generator →

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