#242E88#242E88

#242E88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.149 H 271.5°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#242E88
RGBrgb(36, 46, 136)
HSLhsl(234, 58%, 34%)
HSVhsv(234, 74%, 53%)
CMYKcmyk(73.5%, 66.2%, 0%, 46.7%)
CIE-LABlab(24.02, 28.20, -51.40)
CIE-LCHlch(24.02, 58.63, 298.75°)
OKLaboklab(35.63% 0.004 -0.1485)
OKLCHoklch(35.63% 0.149 271.5)
XYZxyz(6.1470, 4.1060, 23.7564)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E88 #887E24
analogous
#246088 #242E88 #4C2488
triadic
#242E88 #88242E #2E8824
tetradic
#242E88 #882460 #887E24 #24884C
square
#242E88 #882460 #887E24 #24884C
split-complementary
#242E88 #884C24 #608824
monochromatic
#0A0D27 #171E58 #242E88 #313EB8 #5561D2

Accessibility & contrast

On white

11.53
#242E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#242E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E88
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E88#FFFFFF#000000##FFFFFF
##242E881.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #242e88;
/* rgb */ color: rgb(36, 46, 136);
/* oklch */ color: oklch(35.6% 0.149 271.5);
Tailwind
colors: {
  custom: {
    50: '#6e66ac',
    500: '#242e88',
    950: '#000000',
  },
}
SCSS
$custom: #242e88;
$custom-light: #6e66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#242e88",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 234,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35631,
    "c": 0.14857,
    "h": 271.5
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#242E88
secondary
#B6AC52
accent
#D246E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #242E88

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

Preview Lab → · Contrast checker → · Palette generator →

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