#242DA7#242DA7

#242DA7 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.190 H 270.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#242DA7
RGBrgb(36, 45, 167)
HSLhsl(236, 65%, 40%)
HSVhsv(236, 78%, 65%)
CMYKcmyk(78.4%, 73.1%, 0%, 34.5%)
CIE-LABlab(26.85, 40.10, -65.77)
CIE-LCHlch(26.85, 77.03, 301.37°)
OKLaboklab(38.61% 0.0012 -0.1905)
OKLCHoklch(38.61% 0.19 270.4)
XYZxyz(8.6386, 5.0409, 37.0694)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242DA7 #A79E24
analogous
#246EA7 #242DA7 #5D24A7
triadic
#242DA7 #A7242D #2DA724
tetradic
#242DA7 #A7246E #A79E24 #24A75D
square
#242DA7 #A7246E #A79E24 #24A75D
split-complementary
#242DA7 #A75D24 #6EA724
monochromatic
#0E1242 #191F75 #242DA7 #3540D3 #676FDE

Accessibility & contrast

On white

10.46
#242DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#242DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242DA7
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242DA7#FFFFFF#000000##FFFFFF
##242DA71.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#0039A5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #242da7;
/* rgb */ color: rgb(36, 45, 167);
/* oklch */ color: oklch(38.6% 0.190 270.4);
Tailwind
colors: {
  custom: {
    50: '#7667c2',
    500: '#242da7',
    950: '#000000',
  },
}
SCSS
$custom: #242da7;
$custom-light: #7667c2;
$custom-dark: #000000;
JSON
{
  "hex": "#242da7",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 235.878,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38608,
    "c": 0.19047,
    "h": 270.4
  },
  "luminance": 0.05042
}

Semantic roles & 50–950 ramp

primary
#242DA7
secondary
#C4BD63
accent
#DC40E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #242DA7

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

Preview Lab → · Contrast checker → · Palette generator →

#242DA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva