#242E9A#242E9A

#242E9A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.173 H 270.8°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#242E9A
RGBrgb(36, 46, 154)
HSLhsl(235, 62%, 37%)
HSVhsv(235, 77%, 60%)
CMYKcmyk(76.6%, 70.1%, 0%, 39.6%)
CIE-LABlab(25.75, 34.85, -59.69)
CIE-LCHlch(25.75, 69.12, 300.28°)
OKLaboklab(37.42% 0.0024 -0.1727)
OKLCHoklch(37.42% 0.173 270.8)
XYZxyz(7.5353, 4.6613, 31.0682)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E9A #9A9024
analogous
#24699A #242E9A #55249A
triadic
#242E9A #9A242E #2E9A24
tetradic
#242E9A #9A2469 #9A9024 #249A55
square
#242E9A #9A2469 #9A9024 #249A55
split-complementary
#242E9A #9A5524 #699A24
monochromatic
#0D1037 #181F68 #242E9A #303DCC #5F69DA

Accessibility & contrast

On white

10.87
#242E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#242E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E9A
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E9A#FFFFFF#000000##FFFFFF
##242E9A1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #242e9a;
/* rgb */ color: rgb(36, 46, 154);
/* oklch */ color: oklch(37.4% 0.173 270.8);
Tailwind
colors: {
  custom: {
    50: '#7367b9',
    500: '#242e9a',
    950: '#000000',
  },
}
SCSS
$custom: #242e9a;
$custom-light: #7367b9;
$custom-dark: #000000;
JSON
{
  "hex": "#242e9a",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 234.915,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37416,
    "c": 0.17277,
    "h": 270.8
  },
  "luminance": 0.04662
}

Semantic roles & 50–950 ramp

primary
#242E9A
secondary
#BFB65B
accent
#D743E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #242E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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