#252767#252767

#252767 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.3% C 0.110 H 276.6°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#252767
RGBrgb(37, 39, 103)
HSLhsl(238, 47%, 27%)
HSVhsv(238, 64%, 40%)
CMYKcmyk(64.1%, 62.1%, 0%, 59.6%)
CIE-LABlab(19.32, 20.73, -38.00)
CIE-LCHlch(19.32, 43.29, 298.62°)
OKLaboklab(31.28% 0.0127 -0.1092)
OKLCHoklch(31.28% 0.11 276.6)
XYZxyz(3.9359, 2.8233, 13.1669)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252767 #676525
analogous
#254867 #252767 #442567
triadic
#252767 #672527 #276725
tetradic
#252767 #672548 #676525 #256744
square
#252767 #672548 #676525 #256744
split-complementary
#252767 #674425 #486725
monochromatic
#080917 #15163A #252767 #353894 #494CBE

Accessibility & contrast

On white

13.42
#252767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#252767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252767
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252767#FFFFFF#000000##FFFFFF
##2527671.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #252767;
/* rgb */ color: rgb(37, 39, 103);
/* oklch */ color: oklch(31.3% 0.110 276.6);
Tailwind
colors: {
  custom: {
    50: '#676193',
    500: '#252767',
    950: '#000000',
  },
}
SCSS
$custom: #252767;
$custom-light: #676193;
$custom-dark: #000000;
JSON
{
  "hex": "#252767",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 103
  },
  "hsl": {
    "h": 238.182,
    "s": 47.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31283,
    "c": 0.10994,
    "h": 276.6
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#252767
secondary
#9A984E
accent
#D351D7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #252767

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

Preview Lab → · Contrast checker → · Palette generator →

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