#242E95#242E95

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

Color values

HEX#242E95
RGBrgb(36, 46, 149)
HSLhsl(235, 61%, 36%)
HSVhsv(235, 76%, 58%)
CMYKcmyk(75.8%, 69.1%, 0%, 41.6%)
CIE-LABlab(25.25, 33.03, -57.43)
CIE-LCHlch(25.25, 66.25, 299.90°)
OKLaboklab(36.91% 0.0029 -0.1662)
OKLCHoklch(36.91% 0.166 271)
XYZxyz(7.1275, 4.4982, 28.9206)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E95 #958B24
analogous
#246795 #242E95 #532495
triadic
#242E95 #95242E #2E9524
tetradic
#242E95 #952467 #958B24 #249553
square
#242E95 #952467 #958B24 #249553
split-complementary
#242E95 #955324 #679524
monochromatic
#0C1032 #181F64 #242E95 #303DC6 #5C67D8

Accessibility & contrast

On white

11.05
#242E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#242E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E95
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E95#FFFFFF#000000##FFFFFF
##242E951.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242e95;
/* rgb */ color: rgb(36, 46, 149);
/* oklch */ color: oklch(36.9% 0.166 271.0);
Tailwind
colors: {
  custom: {
    50: '#7167b5',
    500: '#242e95',
    950: '#000000',
  },
}
SCSS
$custom: #242e95;
$custom-light: #7167b5;
$custom-dark: #000000;
JSON
{
  "hex": "#242e95",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 234.69,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3691,
    "c": 0.16618,
    "h": 271
  },
  "luminance": 0.04499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242E95

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

Preview Lab → · Contrast checker → · Palette generator →

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