#2045AF#2045AF

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

Color values

HEX#2045AF
RGBrgb(32, 69, 175)
HSLhsl(224, 69%, 41%)
HSVhsv(224, 82%, 69%)
CMYKcmyk(81.7%, 60.6%, 0%, 31.4%)
CIE-LABlab(33.26, 27.28, -60.05)
CIE-LCHlch(33.26, 65.96, 294.43°)
OKLaboklab(43.48% -0.0151 -0.1737)
OKLCHoklch(43.48% 0.174 265)
XYZxyz(10.4589, 7.6572, 41.4759)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2045AF #AF8A20
analogous
#208CAF #2045AF #4320AF
triadic
#2045AF #AF2045 #45AF20
tetradic
#2045AF #AF208C #AF8A20 #20AF43
square
#2045AF #AF208C #AF8A20 #20AF43
split-complementary
#2045AF #AF4320 #8CAF20
monochromatic
#0D1C48 #17317B #2045AF #335EDA #6687E3

Accessibility & contrast

On white

8.30
#2045AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2045AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2045AF
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2045AF#FFFFFF#000000##FFFFFF
##2045AF1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.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: #2045af;
/* rgb */ color: rgb(32, 69, 175);
/* oklch */ color: oklch(43.5% 0.174 265.0);
Tailwind
colors: {
  custom: {
    50: '#7578c8',
    500: '#2045af',
    950: '#000000',
  },
}
SCSS
$custom: #2045af;
$custom-light: #7578c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2045af",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 224.476,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4348,
    "c": 0.17434,
    "h": 265
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#2045AF
secondary
#C8AE62
accent
#BE3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2045AF

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

Preview Lab → · Contrast checker → · Palette generator →

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