#242F93#242F93

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

Color values

HEX#242F93
RGBrgb(36, 47, 147)
HSLhsl(234, 61%, 36%)
HSVhsv(234, 76%, 58%)
CMYKcmyk(75.5%, 68%, 0%, 42.4%)
CIE-LABlab(25.30, 31.64, -56.12)
CIE-LCHlch(25.30, 64.43, 299.41°)
OKLaboklab(36.89% 0.0025 -0.1623)
OKLCHoklch(36.89% 0.162 270.9)
XYZxyz(7.0087, 4.5139, 28.1000)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F93 #938824
analogous
#246693 #242F93 #502493
triadic
#242F93 #93242F #2F9324
tetradic
#242F93 #932466 #938824 #249350
square
#242F93 #932466 #938824 #249350
split-complementary
#242F93 #935024 #669324
monochromatic
#0C1031 #181F62 #242F93 #303FC4 #5B67D7

Accessibility & contrast

On white

11.04
#242F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242F93
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F93#FFFFFF#000000##FFFFFF
##242F931.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242f93;
/* rgb */ color: rgb(36, 47, 147);
/* oklch */ color: oklch(36.9% 0.162 270.9);
Tailwind
colors: {
  custom: {
    50: '#7167b4',
    500: '#242f93',
    950: '#000000',
  },
}
SCSS
$custom: #242f93;
$custom-light: #7167b4;
$custom-dark: #000000;
JSON
{
  "hex": "#242f93",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 234.054,
    "s": 60.656,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36886,
    "c": 0.16234,
    "h": 270.9
  },
  "luminance": 0.04515
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242F93

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

Preview Lab → · Contrast checker → · Palette generator →

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