#242B99#242B99

#242B99 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.175 H 271.3°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#242B99
RGBrgb(36, 43, 153)
HSLhsl(236, 62%, 37%)
HSVhsv(236, 76%, 60%)
CMYKcmyk(76.5%, 71.9%, 0%, 40%)
CIE-LABlab(24.96, 36.37, -60.38)
CIE-LCHlch(24.96, 70.49, 301.07°)
OKLaboklab(36.82% 0.0041 -0.1747)
OKLCHoklch(36.82% 0.175 271.3)
XYZxyz(7.3393, 4.4019, 30.5937)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B99 #999224
analogous
#246699 #242B99 #572499
triadic
#242B99 #99242B #2B9924
tetradic
#242B99 #992466 #999224 #249957
square
#242B99 #992466 #999224 #249957
split-complementary
#242B99 #995724 #669924
monochromatic
#0D0F36 #181D67 #242B99 #3039CB #5E66D9

Accessibility & contrast

On white

11.17
#242B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#242B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B99
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B99#FFFFFF#000000##FFFFFF
##242B991.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242b99;
/* rgb */ color: rgb(36, 43, 153);
/* oklch */ color: oklch(36.8% 0.175 271.3);
Tailwind
colors: {
  custom: {
    50: '#7365b8',
    500: '#242b99',
    950: '#000000',
  },
}
SCSS
$custom: #242b99;
$custom-light: #7365b8;
$custom-dark: #000000;
JSON
{
  "hex": "#242b99",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 236.41,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36816,
    "c": 0.1748,
    "h": 271.3
  },
  "luminance": 0.04403
}

Semantic roles & 50–950 ramp

primary
#242B99
secondary
#BEB85B
accent
#DB43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #242B99

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

Preview Lab → · Contrast checker → · Palette generator →

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