#242565#242565

#242565 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.6% C 0.110 H 277.0°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#242565
RGBrgb(36, 37, 101)
HSLhsl(239, 47%, 27%)
HSVhsv(239, 64%, 40%)
CMYKcmyk(64.4%, 63.4%, 0%, 60.4%)
CIE-LABlab(18.53, 21.19, -37.98)
CIE-LCHlch(18.53, 43.49, 299.16°)
OKLaboklab(30.62% 0.0135 -0.1092)
OKLCHoklch(30.62% 0.11 277)
XYZxyz(3.7373, 2.6375, 12.6215)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242565 #656424
analogous
#244665 #242565 #442465
triadic
#242565 #652425 #256524
tetradic
#242565 #652446 #656424 #246544
square
#242565 #652446 #656424 #246544
split-complementary
#242565 #654424 #466524
monochromatic
#080817 #141438 #242565 #343692 #4648BD

Accessibility & contrast

On white

13.75
#242565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#242565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242565
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242565#FFFFFF#000000##FFFFFF
##2425651.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #242565;
/* rgb */ color: rgb(36, 37, 101);
/* oklch */ color: oklch(30.6% 0.110 277.0);
Tailwind
colors: {
  custom: {
    50: '#675f91',
    500: '#242565',
    950: '#000000',
  },
}
SCSS
$custom: #242565;
$custom-light: #675f91;
$custom-dark: #000000;
JSON
{
  "hex": "#242565",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 101
  },
  "hsl": {
    "h": 239.077,
    "s": 47.445,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30623,
    "c": 0.11003,
    "h": 277
  },
  "luminance": 0.02638
}

Semantic roles & 50–950 ramp

primary
#242565
secondary
#98974C
accent
#D551D7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #242565

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

Preview Lab → · Contrast checker → · Palette generator →

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