#242265#242265

#242265 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.0% C 0.114 H 278.3°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#242265
RGBrgb(36, 34, 101)
HSLhsl(242, 50%, 26%)
HSVhsv(242, 66%, 40%)
CMYKcmyk(64.4%, 66.3%, 0%, 60.4%)
CIE-LABlab(17.73, 23.27, -39.29)
CIE-LCHlch(17.73, 45.66, 300.64°)
OKLaboklab(30.04% 0.0165 -0.113)
OKLCHoklch(30.04% 0.114 278.3)
XYZxyz(3.6478, 2.4584, 12.5917)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242265 #636522
analogous
#224265 #242265 #462265
triadic
#242265 #652422 #226524
tetradic
#242265 #652242 #636522 #226546
square
#242265 #652242 #636522 #226546
split-complementary
#242265 #654622 #426522
monochromatic
#080817 #141337 #242265 #343193 #4642BF

Accessibility & contrast

On white

14.08
#242265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#242265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242265
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242265#FFFFFF#000000##FFFFFF
##2422651.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #242265;
/* rgb */ color: rgb(36, 34, 101);
/* oklch */ color: oklch(30.0% 0.114 278.3);
Tailwind
colors: {
  custom: {
    50: '#675d92',
    500: '#242265',
    950: '#000000',
  },
}
SCSS
$custom: #242265;
$custom-light: #675d92;
$custom-dark: #000000;
JSON
{
  "hex": "#242265",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 241.791,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30035,
    "c": 0.11425,
    "h": 278.3
  },
  "luminance": 0.02459
}

Semantic roles & 50–950 ramp

primary
#242265
secondary
#96994A
accent
#D94FD5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #242265

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

Preview Lab → · Contrast checker → · Palette generator →

#242265 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva