#2230A5#2230A5

#2230A5 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.185 H 269.4°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2230A5
RGBrgb(34, 48, 165)
HSLhsl(234, 66%, 39%)
HSVhsv(234, 79%, 65%)
CMYKcmyk(79.4%, 70.9%, 0%, 35.3%)
CIE-LABlab(27.21, 37.39, -63.97)
CIE-LCHlch(27.21, 74.09, 300.30°)
OKLaboklab(38.78% -0.0019 -0.1853)
OKLCHoklch(38.78% 0.185 269.4)
XYZxyz(8.5058, 5.1696, 36.1396)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2230A5 #A59722
analogous
#2272A5 #2230A5 #5622A5
triadic
#2230A5 #A52230 #30A522
tetradic
#2230A5 #A52272 #A59722 #22A556
square
#2230A5 #A52272 #A59722 #22A556
split-complementary
#2230A5 #A55622 #72A522
monochromatic
#0D1240 #182172 #2230A5 #3041D4 #6370DF

Accessibility & contrast

On white

10.32
#2230A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2230A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2230A5
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2230A5#FFFFFF#000000##FFFFFF
##2230A51.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2230a5;
/* rgb */ color: rgb(34, 48, 165);
/* oklch */ color: oklch(38.8% 0.185 269.4);
Tailwind
colors: {
  custom: {
    50: '#7569c1',
    500: '#2230a5',
    950: '#000000',
  },
}
SCSS
$custom: #2230a5;
$custom-light: #7569c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2230a5",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 233.588,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.3878,
    "c": 0.18528,
    "h": 269.4
  },
  "luminance": 0.05171
}

Semantic roles & 50–950 ramp

primary
#2230A5
secondary
#C4B95F
accent
#D73FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2230A5

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

Preview Lab → · Contrast checker → · Palette generator →

#2230A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva