#242B90#242B90

#242B90 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.163 H 271.8°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#242B90
RGBrgb(36, 43, 144)
HSLhsl(236, 60%, 35%)
HSVhsv(236, 75%, 56%)
CMYKcmyk(75%, 70.1%, 0%, 43.5%)
CIE-LABlab(24.05, 33.13, -56.33)
CIE-LCHlch(24.05, 65.35, 300.46°)
OKLaboklab(35.89% 0.0052 -0.1629)
OKLCHoklch(35.89% 0.163 271.8)
XYZxyz(6.6238, 4.1158, 26.8255)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B90 #908924
analogous
#246190 #242B90 #532490
triadic
#242B90 #90242B #2B9024
tetradic
#242B90 #902461 #908924 #249053
square
#242B90 #902461 #908924 #249053
split-complementary
#242B90 #905324 #619024
monochromatic
#0C0E2E #181C5F #242B90 #303AC1 #5961D5

Accessibility & contrast

On white

11.52
#242B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242B90
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B90#FFFFFF#000000##FFFFFF
##242B901.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #242b90;
/* rgb */ color: rgb(36, 43, 144);
/* oklch */ color: oklch(35.9% 0.163 271.8);
Tailwind
colors: {
  custom: {
    50: '#7065b2',
    500: '#242b90',
    950: '#000000',
  },
}
SCSS
$custom: #242b90;
$custom-light: #7065b2;
$custom-dark: #000000;
JSON
{
  "hex": "#242b90",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 236.111,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35888,
    "c": 0.16301,
    "h": 271.8
  },
  "luminance": 0.04116
}

Semantic roles & 50–950 ramp

primary
#242B90
secondary
#BAB356
accent
#D945E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #242B90

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

Preview Lab → · Contrast checker → · Palette generator →

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