#253256#253256

#253256 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.067 H 267.6°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#253256
RGBrgb(37, 50, 86)
HSLhsl(224, 40%, 24%)
HSVhsv(224, 57%, 34%)
CMYKcmyk(57%, 41.9%, 0%, 66.3%)
CIE-LABlab(21.38, 6.52, -23.50)
CIE-LCHlch(21.38, 24.39, 285.52°)
OKLaboklab(32.45% -0.0028 -0.0665)
OKLCHoklch(32.45% 0.067 267.6)
XYZxyz(3.5827, 3.3462, 9.2594)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253256 #564925
analogous
#254B56 #253256 #312556
triadic
#253256 #562532 #325625
tetradic
#253256 #56254B #564925 #255631
square
#253256 #56254B #564925 #255631
split-complementary
#253256 #563125 #4B5625
monochromatic
#090C15 #13192B #253256 #374B81 #4A64AC

Accessibility & contrast

On white

12.58
#253256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#253256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253256
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253256#FFFFFF#000000##FFFFFF
##2532561.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243657
Deuteranopia (green-blind)
#1E3155
Tritanopia (blue-blind)
#0D3A3F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #253256;
/* rgb */ color: rgb(37, 50, 86);
/* oklch */ color: oklch(32.5% 0.067 267.6);
Tailwind
colors: {
  custom: {
    50: '#636986',
    500: '#253256',
    950: '#000000',
  },
}
SCSS
$custom: #253256;
$custom-light: #636986;
$custom-dark: #000000;
JSON
{
  "hex": "#253256",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 86
  },
  "hsl": {
    "h": 224.082,
    "s": 39.837,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32451,
    "c": 0.06656,
    "h": 267.6
  },
  "luminance": 0.03346
}

Semantic roles & 50–950 ramp

primary
#253256
secondary
#89794D
accent
#B058D0
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #253256

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

Preview Lab → · Contrast checker → · Palette generator →

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