#242E9F#242E9F

#242E9F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.179 H 270.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#242E9F
RGBrgb(36, 46, 159)
HSLhsl(235, 63%, 38%)
HSVhsv(235, 77%, 62%)
CMYKcmyk(77.4%, 71.1%, 0%, 37.6%)
CIE-LABlab(26.25, 36.65, -61.92)
CIE-LCHlch(26.25, 71.95, 300.62°)
OKLaboklab(37.93% 0.0018 -0.1792)
OKLCHoklch(37.93% 0.179 270.6)
XYZxyz(7.9604, 4.8314, 33.3072)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E9F #9F9524
analogous
#246B9F #242E9F #57249F
triadic
#242E9F #9F242E #2E9F24
tetradic
#242E9F #9F246B #9F9524 #249F57
square
#242E9F #9F246B #9F9524 #249F57
split-complementary
#242E9F #9F5724 #6B9F24
monochromatic
#0D113B #19206D #242E9F #303DD0 #626CDB

Accessibility & contrast

On white

10.68
#242E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#242E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E9F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E9F#FFFFFF#000000##FFFFFF
##242E9F1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #242e9f;
/* rgb */ color: rgb(36, 46, 159);
/* oklch */ color: oklch(37.9% 0.179 270.6);
Tailwind
colors: {
  custom: {
    50: '#7467bc',
    500: '#242e9f',
    950: '#000000',
  },
}
SCSS
$custom: #242e9f;
$custom-light: #7467bc;
$custom-dark: #000000;
JSON
{
  "hex": "#242e9f",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 235.122,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37929,
    "c": 0.17925,
    "h": 270.6
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

primary
#242E9F
secondary
#C1B95E
accent
#D942E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #242E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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