#242B97#242B97

#242B97 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.172 H 271.4°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#242B97
RGBrgb(36, 43, 151)
HSLhsl(236, 61%, 37%)
HSVhsv(236, 76%, 59%)
CMYKcmyk(76.2%, 71.5%, 0%, 40.8%)
CIE-LABlab(24.75, 35.66, -59.49)
CIE-LCHlch(24.75, 69.36, 300.94°)
OKLaboklab(36.61% 0.0043 -0.1721)
OKLCHoklch(36.61% 0.172 271.4)
XYZxyz(7.1755, 4.3364, 29.7310)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B97 #979024
analogous
#246597 #242B97 #572497
triadic
#242B97 #97242B #2B9724
tetradic
#242B97 #972465 #979024 #249757
square
#242B97 #972465 #979024 #249757
split-complementary
#242B97 #975724 #659724
monochromatic
#0C0F34 #181D66 #242B97 #3039C8 #5D65D8

Accessibility & contrast

On white

11.25
#242B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#242B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B97
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B97#FFFFFF#000000##FFFFFF
##242B971.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242b97;
/* rgb */ color: rgb(36, 43, 151);
/* oklch */ color: oklch(36.6% 0.172 271.4);
Tailwind
colors: {
  custom: {
    50: '#7265b7',
    500: '#242b97',
    950: '#000000',
  },
}
SCSS
$custom: #242b97;
$custom-light: #7265b7;
$custom-dark: #000000;
JSON
{
  "hex": "#242b97",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 236.348,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36608,
    "c": 0.1722,
    "h": 271.4
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#242B97
secondary
#BDB75A
accent
#DB43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #242B97

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

Preview Lab → · Contrast checker → · Palette generator →

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