#253261#253261

#253261 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.084 H 269.7°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#253261
RGBrgb(37, 50, 97)
HSLhsl(227, 45%, 26%)
HSVhsv(227, 62%, 38%)
CMYKcmyk(61.9%, 48.5%, 0%, 62%)
CIE-LABlab(22.08, 10.66, -29.64)
CIE-LCHlch(22.08, 31.49, 289.78°)
OKLaboklab(33.21% -0.0004 -0.0845)
OKLCHoklch(33.21% 0.084 269.7)
XYZxyz(4.0605, 3.5373, 11.7757)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253261 #615425
analogous
#255061 #253261 #362561
triadic
#253261 #612532 #326125
tetradic
#253261 #612550 #615425 #256136
square
#253261 #612550 #615425 #256136
split-complementary
#253261 #613625 #506125
monochromatic
#080B16 #141B35 #253261 #36498D #4760B9

Accessibility & contrast

On white

12.30
#253261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#253261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253261
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253261#FFFFFF#000000##FFFFFF
##2532611.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3863
Deuteranopia (green-blind)
#143260
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #253261;
/* rgb */ color: rgb(37, 50, 97);
/* oklch */ color: oklch(33.2% 0.084 269.7);
Tailwind
colors: {
  custom: {
    50: '#65698e',
    500: '#253261',
    950: '#000000',
  },
}
SCSS
$custom: #253261;
$custom-light: #65698e;
$custom-dark: #000000;
JSON
{
  "hex": "#253261",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 97
  },
  "hsl": {
    "h": 227,
    "s": 44.776,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33214,
    "c": 0.08447,
    "h": 269.7
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#253261
secondary
#94854E
accent
#B853D4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #253261

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

Preview Lab → · Contrast checker → · Palette generator →

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