#2145B3#2145B3

#2145B3 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.179 H 265.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2145B3
RGBrgb(33, 69, 179)
HSLhsl(225, 69%, 42%)
HSVhsv(225, 82%, 70%)
CMYKcmyk(81.6%, 61.5%, 0%, 29.8%)
CIE-LABlab(33.63, 28.91, -61.82)
CIE-LCHlch(33.63, 68.24, 295.06°)
OKLaboklab(43.87% -0.0143 -0.1788)
OKLCHoklch(43.87% 0.179 265.4)
XYZxyz(10.8891, 7.8329, 43.5771)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2145B3 #B38F21
analogous
#218EB3 #2145B3 #4621B3
triadic
#2145B3 #B32145 #45B321
tetradic
#2145B3 #B3218E #B38F21 #21B346
square
#2145B3 #B3218E #B38F21 #21B346
split-complementary
#2145B3 #B34621 #8EB321
monochromatic
#0E1D4C #17317F #2145B3 #375FDA #6B89E4

Accessibility & contrast

On white

8.18
#2145B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2145B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2145B3
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2145B3#FFFFFF#000000##FFFFFF
##2145B31.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2145b3;
/* rgb */ color: rgb(33, 69, 179);
/* oklch */ color: oklch(43.9% 0.179 265.4);
Tailwind
colors: {
  custom: {
    50: '#7678cb',
    500: '#2145b3',
    950: '#000000',
  },
}
SCSS
$custom: #2145b3;
$custom-light: #7678cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2145b3",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 225.205,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43874,
    "c": 0.17941,
    "h": 265.4
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#2145B3
secondary
#CAB166
accent
#C03CEC
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2145B3

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

Preview Lab → · Contrast checker → · Palette generator →

#2145B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva