#242E93#242E93

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

Color values

HEX#242E93
RGBrgb(36, 46, 147)
HSLhsl(235, 61%, 36%)
HSVhsv(235, 76%, 58%)
CMYKcmyk(75.5%, 68.7%, 0%, 42.4%)
CIE-LABlab(25.06, 32.29, -56.52)
CIE-LCHlch(25.06, 65.10, 299.74°)
OKLaboklab(36.71% 0.0031 -0.1635)
OKLCHoklch(36.71% 0.164 271.1)
XYZxyz(6.9692, 4.4349, 28.0868)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E93 #938924
analogous
#246593 #242E93 #512493
triadic
#242E93 #93242E #2E9324
tetradic
#242E93 #932465 #938924 #249351
square
#242E93 #932465 #938924 #249351
split-complementary
#242E93 #935124 #659324
monochromatic
#0C0F31 #181F62 #242E93 #303DC4 #5B66D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##242E93#FFFFFF#000000##FFFFFF
##242E931.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)
#004196
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242e93;
/* rgb */ color: rgb(36, 46, 147);
/* oklch */ color: oklch(36.7% 0.164 271.1);
Tailwind
colors: {
  custom: {
    50: '#7167b4',
    500: '#242e93',
    950: '#000000',
  },
}
SCSS
$custom: #242e93;
$custom-light: #7167b4;
$custom-dark: #000000;
JSON
{
  "hex": "#242e93",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 234.595,
    "s": 60.656,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36709,
    "c": 0.16352,
    "h": 271.1
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242E93

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

Preview Lab → · Contrast checker → · Palette generator →

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