#242B77#242B77

#242B77 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.128 H 273.2°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#242B77
RGBrgb(36, 43, 119)
HSLhsl(235, 54%, 30%)
HSVhsv(235, 70%, 47%)
CMYKcmyk(69.7%, 63.9%, 0%, 53.3%)
CIE-LABlab(21.71, 23.82, -44.46)
CIE-LCHlch(21.71, 50.44, 298.18°)
OKLaboklab(33.46% 0.0072 -0.1282)
OKLCHoklch(33.46% 0.128 273.2)
XYZxyz(4.9201, 3.4343, 17.8528)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B77 #777024
analogous
#245477 #242B77 #472477
triadic
#242B77 #77242B #2B7724
tetradic
#242B77 #772454 #777024 #247747
square
#242B77 #772454 #777024 #247747
split-complementary
#242B77 #774724 #547724
monochromatic
#080919 #161A48 #242B77 #323CA6 #4C57C9

Accessibility & contrast

On white

12.45
#242B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#242B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B77
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B77#FFFFFF#000000##FFFFFF
##242B771.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #242b77;
/* rgb */ color: rgb(36, 43, 119);
/* oklch */ color: oklch(33.5% 0.128 273.2);
Tailwind
colors: {
  custom: {
    50: '#6a649f',
    500: '#242b77',
    950: '#000000',
  },
}
SCSS
$custom: #242b77;
$custom-light: #6a649f;
$custom-dark: #000000;
JSON
{
  "hex": "#242b77",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 234.94,
    "s": 53.548,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33456,
    "c": 0.12837,
    "h": 273.2
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#242B77
secondary
#AAA24D
accent
#D14BDD
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #242B77

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

Preview Lab → · Contrast checker → · Palette generator →

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