#242570#242570

#242570 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.126 H 275.9°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#242570
RGBrgb(36, 37, 112)
HSLhsl(239, 51%, 29%)
HSVhsv(239, 68%, 44%)
CMYKcmyk(67.9%, 67%, 0%, 56.1%)
CIE-LABlab(19.51, 25.29, -43.55)
CIE-LCHlch(19.51, 50.36, 300.15°)
OKLaboklab(31.65% 0.0129 -0.1256)
OKLCHoklch(31.65% 0.126 275.9)
XYZxyz(4.3128, 2.8677, 15.6523)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242570 #706F24
analogous
#244B70 #242570 #492470
triadic
#242570 #702425 #257024
tetradic
#242570 #70244B #706F24 #247049
square
#242570 #70244B #706F24 #247049
split-complementary
#242570 #704924 #4B7024
monochromatic
#070817 #151642 #242570 #33349E #4A4BC5

Accessibility & contrast

On white

13.35
#242570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#242570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242570
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242570#FFFFFF#000000##FFFFFF
##2425701.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #242570;
/* rgb */ color: rgb(36, 37, 112);
/* oklch */ color: oklch(31.6% 0.126 275.9);
Tailwind
colors: {
  custom: {
    50: '#695f9a',
    500: '#242570',
    950: '#000000',
  },
}
SCSS
$custom: #242570;
$custom-light: #695f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#242570",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 112
  },
  "hsl": {
    "h": 239.211,
    "s": 51.351,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31645,
    "c": 0.12622,
    "h": 275.9
  },
  "luminance": 0.02868
}

Semantic roles & 50–950 ramp

primary
#242570
secondary
#A3A24D
accent
#D94DDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #242570

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

Preview Lab → · Contrast checker → · Palette generator →

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