#242B9A#242B9A

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

Color values

HEX#242B9A
RGBrgb(36, 43, 154)
HSLhsl(236, 62%, 37%)
HSVhsv(236, 77%, 60%)
CMYKcmyk(76.6%, 72.1%, 0%, 39.6%)
CIE-LABlab(25.06, 36.73, -60.82)
CIE-LCHlch(25.06, 71.05, 301.13°)
OKLaboklab(36.92% 0.0039 -0.176)
OKLCHoklch(36.92% 0.176 271.3)
XYZxyz(7.4222, 4.4351, 31.0305)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B9A #9A9324
analogous
#24669A #242B9A #58249A
triadic
#242B9A #9A242B #2B9A24
tetradic
#242B9A #9A2466 #9A9324 #249A58
square
#242B9A #9A2466 #9A9324 #249A58
split-complementary
#242B9A #9A5824 #669A24
monochromatic
#0D0F37 #181D68 #242B9A #3039CC #5F66DA

Accessibility & contrast

On white

11.13
#242B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#242B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B9A
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B9A#FFFFFF#000000##FFFFFF
##242B9A1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242b9a;
/* rgb */ color: rgb(36, 43, 154);
/* oklch */ color: oklch(36.9% 0.176 271.3);
Tailwind
colors: {
  custom: {
    50: '#7365b9',
    500: '#242b9a',
    950: '#000000',
  },
}
SCSS
$custom: #242b9a;
$custom-light: #7365b9;
$custom-dark: #000000;
JSON
{
  "hex": "#242b9a",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 236.441,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36921,
    "c": 0.17608,
    "h": 271.3
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#242B9A
secondary
#BFB95B
accent
#DC43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #242B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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