#242E9D#242E9D

#242E9D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.177 H 270.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#242E9D
RGBrgb(36, 46, 157)
HSLhsl(235, 63%, 38%)
HSVhsv(235, 77%, 62%)
CMYKcmyk(77.1%, 70.7%, 0%, 38.4%)
CIE-LABlab(26.05, 35.93, -61.03)
CIE-LCHlch(26.05, 70.82, 300.49°)
OKLaboklab(37.72% 0.002 -0.1766)
OKLCHoklch(37.72% 0.177 270.7)
XYZxyz(7.7883, 4.7625, 32.4005)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E9D #9D9324
analogous
#246B9D #242E9D #56249D
triadic
#242E9D #9D242E #2E9D24
tetradic
#242E9D #9D246B #9D9324 #249D56
square
#242E9D #9D246B #9D9324 #249D56
split-complementary
#242E9D #9D5624 #6B9D24
monochromatic
#0D1139 #191F6B #242E9D #2F3DCF #616BDB

Accessibility & contrast

On white

10.75
#242E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#242E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E9D
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E9D#FFFFFF#000000##FFFFFF
##242E9D1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #242e9d;
/* rgb */ color: rgb(36, 46, 157);
/* oklch */ color: oklch(37.7% 0.177 270.7);
Tailwind
colors: {
  custom: {
    50: '#7367bb',
    500: '#242e9d',
    950: '#000000',
  },
}
SCSS
$custom: #242e9d;
$custom-light: #7367bb;
$custom-dark: #000000;
JSON
{
  "hex": "#242e9d",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 235.041,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37723,
    "c": 0.17666,
    "h": 270.7
  },
  "luminance": 0.04763
}

Semantic roles & 50–950 ramp

primary
#242E9D
secondary
#C0B85D
accent
#D842E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #242E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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