#242B75#242B75

#242B75 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.125 H 273.3°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#242B75
RGBrgb(36, 43, 117)
HSLhsl(235, 53%, 30%)
HSVhsv(235, 69%, 46%)
CMYKcmyk(69.2%, 63.2%, 0%, 54.1%)
CIE-LABlab(21.53, 23.06, -43.46)
CIE-LCHlch(21.53, 49.20, 297.95°)
OKLaboklab(33.27% 0.0073 -0.1252)
OKLCHoklch(33.27% 0.125 273.3)
XYZxyz(4.8012, 3.3867, 17.2269)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B75 #756E24
analogous
#245375 #242B75 #462475
triadic
#242B75 #75242B #2B7524
tetradic
#242B75 #752453 #756E24 #247546
square
#242B75 #752453 #756E24 #247546
split-complementary
#242B75 #754624 #537524
monochromatic
#070917 #161A46 #242B75 #323CA4 #4C56C8

Accessibility & contrast

On white

12.52
#242B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#242B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B75
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B75#FFFFFF#000000##FFFFFF
##242B751.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #242b75;
/* rgb */ color: rgb(36, 43, 117);
/* oklch */ color: oklch(33.3% 0.125 273.3);
Tailwind
colors: {
  custom: {
    50: '#6a649d',
    500: '#242b75',
    950: '#000000',
  },
}
SCSS
$custom: #242b75;
$custom-light: #6a649d;
$custom-dark: #000000;
JSON
{
  "hex": "#242b75",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 117
  },
  "hsl": {
    "h": 234.815,
    "s": 52.941,
    "l": 30
  },
  "oklch": {
    "l": 0.33272,
    "c": 0.12546,
    "h": 273.3
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

primary
#242B75
secondary
#A8A04D
accent
#D04BDC
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #242B75

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

Preview Lab → · Contrast checker → · Palette generator →

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