#242E92#242E92

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

Color values

HEX#242E92
RGBrgb(36, 46, 146)
HSLhsl(235, 60%, 36%)
HSVhsv(235, 75%, 57%)
CMYKcmyk(75.3%, 68.5%, 0%, 42.7%)
CIE-LABlab(24.96, 31.92, -56.06)
CIE-LCHlch(24.96, 64.51, 299.66°)
OKLaboklab(36.61% 0.0032 -0.1621)
OKLCHoklch(36.61% 0.162 271.1)
XYZxyz(6.8911, 4.4037, 27.6754)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E92 #928824
analogous
#246592 #242E92 #512492
triadic
#242E92 #92242E #2E9224
tetradic
#242E92 #922465 #928824 #249251
square
#242E92 #922465 #928824 #249251
split-complementary
#242E92 #925124 #659224
monochromatic
#0C0F30 #181F61 #242E92 #303DC3 #5A65D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##242E92#FFFFFF#000000##FFFFFF
##242E921.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)
#004095
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242e92;
/* rgb */ color: rgb(36, 46, 146);
/* oklch */ color: oklch(36.6% 0.162 271.1);
Tailwind
colors: {
  custom: {
    50: '#7167b3',
    500: '#242e92',
    950: '#000000',
  },
}
SCSS
$custom: #242e92;
$custom-light: #7167b3;
$custom-dark: #000000;
JSON
{
  "hex": "#242e92",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 234.545,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3661,
    "c": 0.16218,
    "h": 271.1
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

primary
#242E92
secondary
#BBB257
accent
#D544E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242E92

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

Preview Lab → · Contrast checker → · Palette generator →

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