#242E94#242E94

#242E94 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.165 H 271.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#242E94
RGBrgb(36, 46, 148)
HSLhsl(235, 61%, 36%)
HSVhsv(235, 76%, 58%)
CMYKcmyk(75.7%, 68.9%, 0%, 42%)
CIE-LABlab(25.16, 32.66, -56.98)
CIE-LCHlch(25.16, 65.67, 299.82°)
OKLaboklab(36.81% 0.003 -0.1648)
OKLCHoklch(36.81% 0.165 271)
XYZxyz(7.0480, 4.4664, 28.5019)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E94 #948A24
analogous
#246694 #242E94 #522494
triadic
#242E94 #94242E #2E9424
tetradic
#242E94 #942466 #948A24 #249452
square
#242E94 #942466 #948A24 #249452
split-complementary
#242E94 #945224 #669424
monochromatic
#0C0F32 #181F63 #242E94 #303DC5 #5B66D7

Accessibility & contrast

On white

11.09
#242E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242E94
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E94#FFFFFF#000000##FFFFFF
##242E941.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #242e94;
/* rgb */ color: rgb(36, 46, 148);
/* oklch */ color: oklch(36.8% 0.165 271.0);
Tailwind
colors: {
  custom: {
    50: '#7167b4',
    500: '#242e94',
    950: '#000000',
  },
}
SCSS
$custom: #242e94;
$custom-light: #7167b4;
$custom-dark: #000000;
JSON
{
  "hex": "#242e94",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 234.643,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36809,
    "c": 0.16486,
    "h": 271
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#242E94
secondary
#BCB358
accent
#D644E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242E94

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

Preview Lab → · Contrast checker → · Palette generator →

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