#242A9B#242A9B

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

Color values

HEX#242A9B
RGBrgb(36, 42, 155)
HSLhsl(237, 62%, 37%)
HSVhsv(237, 77%, 61%)
CMYKcmyk(76.8%, 72.9%, 0%, 39.2%)
CIE-LABlab(24.94, 37.70, -61.63)
CIE-LCHlch(24.94, 72.24, 301.45°)
OKLaboklab(36.87% 0.0043 -0.1784)
OKLCHoklch(36.87% 0.178 271.4)
XYZxyz(7.4699, 4.3968, 31.4590)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A9B #9B9524
analogous
#24659B #242A9B #5A249B
triadic
#242A9B #9B242A #2A9B24
tetradic
#242A9B #9B2465 #9B9524 #249B5A
square
#242A9B #9B2465 #9B9524 #249B5A
split-complementary
#242A9B #9B5A24 #659B24
monochromatic
#0D0F38 #181D69 #242A9B #3037CD #5F66DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##242A9B#FFFFFF#000000##FFFFFF
##242A9B1.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)
#00419E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242a9b;
/* rgb */ color: rgb(36, 42, 155);
/* oklch */ color: oklch(36.9% 0.178 271.4);
Tailwind
colors: {
  custom: {
    50: '#7364ba',
    500: '#242a9b',
    950: '#000000',
  },
}
SCSS
$custom: #242a9b;
$custom-light: #7364ba;
$custom-dark: #000000;
JSON
{
  "hex": "#242a9b",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 236.975,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36867,
    "c": 0.17844,
    "h": 271.4
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#242A9B
secondary
#BFBA5C
accent
#DD42E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #242A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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