#252365#252365

#252365 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.3% C 0.113 H 278.6°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#252365
RGBrgb(37, 35, 101)
HSLhsl(242, 49%, 27%)
HSVhsv(242, 65%, 40%)
CMYKcmyk(63.4%, 65.3%, 0%, 60.4%)
CIE-LABlab(18.07, 22.77, -38.72)
CIE-LCHlch(18.07, 44.92, 300.46°)
OKLaboklab(30.31% 0.0169 -0.1113)
OKLCHoklch(30.31% 0.113 278.6)
XYZxyz(3.7122, 2.5347, 12.6030)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252365 #636523
analogous
#234265 #252365 #462365
triadic
#252365 #652523 #236525
tetradic
#252365 #652342 #636523 #236546
square
#252365 #652342 #636523 #236546
split-complementary
#252365 #654623 #426523
monochromatic
#080817 #141338 #252365 #363392 #4844BE

Accessibility & contrast

On white

13.93
#252365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#252365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252365
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252365#FFFFFF#000000##FFFFFF
##2523651.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #252365;
/* rgb */ color: rgb(37, 35, 101);
/* oklch */ color: oklch(30.3% 0.113 278.6);
Tailwind
colors: {
  custom: {
    50: '#675e91',
    500: '#252365',
    950: '#000000',
  },
}
SCSS
$custom: #252365;
$custom-light: #675e91;
$custom-dark: #000000;
JSON
{
  "hex": "#252365",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 101
  },
  "hsl": {
    "h": 241.818,
    "s": 48.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30309,
    "c": 0.11263,
    "h": 278.6
  },
  "luminance": 0.02535
}

Semantic roles & 50–950 ramp

primary
#252365
secondary
#96994B
accent
#D850D4
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #252365

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

Preview Lab → · Contrast checker → · Palette generator →

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