#242B91#242B91

#242B91 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.164 H 271.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#242B91
RGBrgb(36, 43, 145)
HSLhsl(236, 60%, 35%)
HSVhsv(236, 75%, 57%)
CMYKcmyk(75.2%, 70.3%, 0%, 43.1%)
CIE-LABlab(24.15, 33.49, -56.78)
CIE-LCHlch(24.15, 65.92, 300.53°)
OKLaboklab(35.99% 0.0051 -0.1643)
OKLCHoklch(35.99% 0.164 271.8)
XYZxyz(6.7005, 4.1465, 27.2298)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B91 #918A24
analogous
#246191 #242B91 #532491
triadic
#242B91 #91242B #2B9124
tetradic
#242B91 #912461 #918A24 #249153
square
#242B91 #912461 #918A24 #249153
split-complementary
#242B91 #915324 #619124
monochromatic
#0C0E2F #181C60 #242B91 #303AC2 #5961D6

Accessibility & contrast

On white

11.48
#242B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#242B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B91
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B91#FFFFFF#000000##FFFFFF
##242B911.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #242b91;
/* rgb */ color: rgb(36, 43, 145);
/* oklch */ color: oklch(36.0% 0.164 271.8);
Tailwind
colors: {
  custom: {
    50: '#7165b2',
    500: '#242b91',
    950: '#000000',
  },
}
SCSS
$custom: #242b91;
$custom-light: #7165b2;
$custom-dark: #000000;
JSON
{
  "hex": "#242b91",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 236.147,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3599,
    "c": 0.16434,
    "h": 271.8
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#242B91
secondary
#BAB456
accent
#D944E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #242B91

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

Preview Lab → · Contrast checker → · Palette generator →

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