#252B65#252B65

#252B65 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.101 H 274.7°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#252B65
RGBrgb(37, 43, 101)
HSLhsl(234, 46%, 27%)
HSVhsv(234, 63%, 40%)
CMYKcmyk(63.4%, 57.4%, 0%, 60.4%)
CIE-LABlab(20.28, 17.16, -35.14)
CIE-LCHlch(20.28, 39.10, 296.03°)
OKLaboklab(31.95% 0.0083 -0.1007)
OKLCHoklch(31.95% 0.101 274.7)
XYZxyz(3.9750, 3.0603, 12.6906)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B65 #655F25
analogous
#254B65 #252B65 #3F2565
triadic
#252B65 #65252B #2B6525
tetradic
#252B65 #65254B #655F25 #25653F
square
#252B65 #65254B #655F25 #25653F
split-complementary
#252B65 #653F25 #4B6525
monochromatic
#080A16 #151838 #252B65 #353E92 #4853BC

Accessibility & contrast

On white

13.03
#252B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#252B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B65
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B65#FFFFFF#000000##FFFFFF
##252B651.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053467
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252b65;
/* rgb */ color: rgb(37, 43, 101);
/* oklch */ color: oklch(31.9% 0.101 274.7);
Tailwind
colors: {
  custom: {
    50: '#676491',
    500: '#252b65',
    950: '#000000',
  },
}
SCSS
$custom: #252b65;
$custom-light: #676491;
$custom-dark: #000000;
JSON
{
  "hex": "#252b65",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 101
  },
  "hsl": {
    "h": 234.375,
    "s": 46.377,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31948,
    "c": 0.10108,
    "h": 274.7
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

primary
#252B65
secondary
#98914E
accent
#CA52D6
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #252B65

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

Preview Lab → · Contrast checker → · Palette generator →

#252B65 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva