#242695#242695

#242695 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.175 H 272.4°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#242695
RGBrgb(36, 38, 149)
HSLhsl(239, 61%, 36%)
HSVhsv(239, 76%, 58%)
CMYKcmyk(75.8%, 74.5%, 0%, 41.6%)
CIE-LABlab(23.44, 38.01, -60.42)
CIE-LCHlch(23.44, 71.38, 302.17°)
OKLaboklab(35.6% 0.0072 -0.1749)
OKLCHoklch(35.6% 0.175 272.4)
XYZxyz(6.8437, 3.9305, 28.8259)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242695 #959324
analogous
#245F95 #242695 #5B2495
triadic
#242695 #952426 #269524
tetradic
#242695 #95245F #959324 #24955B
square
#242695 #95245F #959324 #24955B
split-complementary
#242695 #955B24 #5F9524
monochromatic
#0C0D32 #181964 #242695 #3033C6 #5C5ED8

Accessibility & contrast

On white

11.76
#242695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#242695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242695
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242695#FFFFFF#000000##FFFFFF
##2426951.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #242695;
/* rgb */ color: rgb(36, 38, 149);
/* oklch */ color: oklch(35.6% 0.175 272.4);
Tailwind
colors: {
  custom: {
    50: '#7261b5',
    500: '#242695',
    950: '#000000',
  },
}
SCSS
$custom: #242695;
$custom-light: #7261b5;
$custom-dark: #000000;
JSON
{
  "hex": "#242695",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 238.938,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35605,
    "c": 0.17501,
    "h": 272.4
  },
  "luminance": 0.03931
}

Semantic roles & 50–950 ramp

primary
#242695
secondary
#BCBA59
accent
#E144E4
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242695

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

Preview Lab → · Contrast checker → · Palette generator →

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