#255BAF#255BAF

#255BAF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.3% C 0.146 H 259.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#255BAF
RGBrgb(37, 91, 175)
HSLhsl(217, 65%, 42%)
HSVhsv(217, 79%, 69%)
CMYKcmyk(78.9%, 48%, 0%, 31.4%)
CIE-LABlab(39.53, 13.14, -49.87)
CIE-LCHlch(39.53, 51.58, 284.76°)
OKLaboklab(48.28% -0.0274 -0.1433)
OKLCHoklch(48.28% 0.146 259.2)
XYZxyz(12.2391, 10.9692, 42.0213)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255BAF #AF7925
analogous
#25A0AF #255BAF #3425AF
triadic
#255BAF #AF255B #5BAF25
tetradic
#255BAF #AF25A0 #AF7925 #25AF34
square
#255BAF #AF25A0 #AF7925 #25AF34
split-complementary
#255BAF #AF3425 #A0AF25
monochromatic
#10264A #1A417C #255BAF #3C78D6 #6E9BE0

Accessibility & contrast

On white

6.57
#255BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#255BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255BAF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255BAF#FFFFFF#000000##FFFFFF
##255BAF1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #255baf;
/* rgb */ color: rgb(37, 91, 175);
/* oklch */ color: oklch(48.3% 0.146 259.2);
Tailwind
colors: {
  custom: {
    50: '#7588c7',
    500: '#255baf',
    950: '#000000',
  },
}
SCSS
$custom: #255baf;
$custom-light: #7588c7;
$custom-dark: #000000;
JSON
{
  "hex": "#255baf",
  "rgb": {
    "r": 37,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 216.522,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48281,
    "c": 0.14587,
    "h": 259.2
  },
  "luminance": 0.10971
}

Semantic roles & 50–950 ramp

primary
#255BAF
secondary
#C7A269
accent
#A640E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #255BAF

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

Preview Lab → · Contrast checker → · Palette generator →

#255BAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva