#253155#253155

#253155 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.066 H 268.6°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#253155
RGBrgb(37, 49, 85)
HSLhsl(225, 39%, 24%)
HSVhsv(225, 56%, 33%)
CMYKcmyk(56.5%, 42.4%, 0%, 66.7%)
CIE-LABlab(21.00, 6.86, -23.44)
CIE-LCHlch(21.00, 24.42, 286.32°)
OKLaboklab(32.14% -0.0016 -0.0663)
OKLCHoklch(32.14% 0.066 268.6)
XYZxyz(3.5004, 3.2456, 9.0346)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253155 #554925
analogous
#254955 #253155 #312555
triadic
#253155 #552531 #315525
tetradic
#253155 #552549 #554925 #255531
square
#253155 #552549 #554925 #255531
split-complementary
#253155 #553125 #495525
monochromatic
#090C15 #12182A #253155 #384A80 #4A62AA

Accessibility & contrast

On white

12.73
#253155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#253155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253155
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253155#FFFFFF#000000##FFFFFF
##2531551.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233556
Deuteranopia (green-blind)
#1D3154
Tritanopia (blue-blind)
#0F393E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #253155;
/* rgb */ color: rgb(37, 49, 85);
/* oklch */ color: oklch(32.1% 0.066 268.6);
Tailwind
colors: {
  custom: {
    50: '#636885',
    500: '#253155',
    950: '#000000',
  },
}
SCSS
$custom: #253155;
$custom-light: #636885;
$custom-dark: #000000;
JSON
{
  "hex": "#253155",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 85
  },
  "hsl": {
    "h": 225,
    "s": 39.344,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32139,
    "c": 0.06634,
    "h": 268.6
  },
  "luminance": 0.03246
}

Semantic roles & 50–950 ramp

primary
#253155
secondary
#887A4D
accent
#B259CF
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #253155

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

Preview Lab → · Contrast checker → · Palette generator →

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