#2241AF#2241AF

#2241AF is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.179 H 266.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2241AF
RGBrgb(34, 65, 175)
HSLhsl(227, 67%, 41%)
HSVhsv(227, 81%, 69%)
CMYKcmyk(80.6%, 62.9%, 0%, 31.4%)
CIE-LABlab(32.29, 30.12, -61.63)
CIE-LCHlch(32.29, 68.60, 296.04°)
OKLaboklab(42.78% -0.0113 -0.1783)
OKLCHoklch(42.78% 0.179 266.4)
XYZxyz(10.2851, 7.2146, 41.3996)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2241AF #AF9022
analogous
#2287AF #2241AF #4A22AF
triadic
#2241AF #AF2241 #41AF22
tetradic
#2241AF #AF2287 #AF9022 #22AF4A
square
#2241AF #AF2287 #AF9022 #22AF4A
split-complementary
#2241AF #AF4A22 #87AF22
monochromatic
#0E1B49 #182E7C #2241AF #365AD8 #6984E2

Accessibility & contrast

On white

8.60
#2241AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2241AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2241AF
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2241AF#FFFFFF#000000##FFFFFF
##2241AF1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2241af;
/* rgb */ color: rgb(34, 65, 175);
/* oklch */ color: oklch(42.8% 0.179 266.4);
Tailwind
colors: {
  custom: {
    50: '#7675c8',
    500: '#2241af',
    950: '#000000',
  },
}
SCSS
$custom: #2241af;
$custom-light: #7675c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2241af",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 226.809,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42781,
    "c": 0.17869,
    "h": 266.4
  },
  "luminance": 0.07216
}

Semantic roles & 50–950 ramp

primary
#2241AF
secondary
#C8B265
accent
#C43DEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2241AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2241AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva