#242F94#242F94

#242F94 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.164 H 270.8°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#242F94
RGBrgb(36, 47, 148)
HSLhsl(234, 61%, 36%)
HSVhsv(234, 76%, 58%)
CMYKcmyk(75.7%, 68.2%, 0%, 42%)
CIE-LABlab(25.40, 32.01, -56.58)
CIE-LCHlch(25.40, 65.01, 299.50°)
OKLaboklab(36.99% 0.0024 -0.1637)
OKLCHoklch(36.99% 0.164 270.8)
XYZxyz(7.0875, 4.5455, 28.5151)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F94 #948924
analogous
#246794 #242F94 #512494
triadic
#242F94 #94242F #2F9424
tetradic
#242F94 #942467 #948924 #249451
square
#242F94 #942467 #948924 #249451
split-complementary
#242F94 #945124 #679424
monochromatic
#0C1032 #181F63 #242F94 #303FC5 #5B67D7

Accessibility & contrast

On white

11.00
#242F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#242F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F94
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F94#FFFFFF#000000##FFFFFF
##242F941.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242f94;
/* rgb */ color: rgb(36, 47, 148);
/* oklch */ color: oklch(37.0% 0.164 270.8);
Tailwind
colors: {
  custom: {
    50: '#7168b4',
    500: '#242f94',
    950: '#000000',
  },
}
SCSS
$custom: #242f94;
$custom-light: #7168b4;
$custom-dark: #000000;
JSON
{
  "hex": "#242f94",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 234.107,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36985,
    "c": 0.16368,
    "h": 270.8
  },
  "luminance": 0.04546
}

Semantic roles & 50–950 ramp

primary
#242F94
secondary
#BCB258
accent
#D444E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242F94

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

Preview Lab → · Contrast checker → · Palette generator →

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