#2245AF#2245AF

#2245AF is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.174 H 265.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2245AF
RGBrgb(34, 69, 175)
HSLhsl(225, 67%, 41%)
HSVhsv(225, 81%, 69%)
CMYKcmyk(80.6%, 60.6%, 0%, 31.4%)
CIE-LABlab(33.33, 27.46, -59.93)
CIE-LCHlch(33.33, 65.93, 294.62°)
OKLaboklab(43.55% -0.0137 -0.1733)
OKLCHoklch(43.55% 0.174 265.5)
XYZxyz(10.5229, 7.6902, 41.4789)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2245AF #AF8C22
analogous
#228BAF #2245AF #4522AF
triadic
#2245AF #AF2245 #45AF22
tetradic
#2245AF #AF228B #AF8C22 #22AF45
square
#2245AF #AF228B #AF8C22 #22AF45
split-complementary
#2245AF #AF4522 #8BAF22
monochromatic
#0E1D49 #18317C #2245AF #365ED8 #6987E2

Accessibility & contrast

On white

8.27
#2245AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2245AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2245AF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2245AF#FFFFFF#000000##FFFFFF
##2245AF1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2245af;
/* rgb */ color: rgb(34, 69, 175);
/* oklch */ color: oklch(43.6% 0.174 265.5);
Tailwind
colors: {
  custom: {
    50: '#7578c8',
    500: '#2245af',
    950: '#000000',
  },
}
SCSS
$custom: #2245af;
$custom-light: #7578c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2245af",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 225.106,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43553,
    "c": 0.17384,
    "h": 265.5
  },
  "luminance": 0.07691
}

Semantic roles & 50–950 ramp

primary
#2245AF
secondary
#C8AF65
accent
#BF3DEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2245AF

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

Preview Lab → · Contrast checker → · Palette generator →

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