#2230A7#2230A7

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

Color values

HEX#2230A7
RGBrgb(34, 48, 167)
HSLhsl(234, 66%, 39%)
HSVhsv(234, 80%, 65%)
CMYKcmyk(79.6%, 71.3%, 0%, 34.5%)
CIE-LABlab(27.42, 38.10, -64.84)
CIE-LCHlch(27.42, 75.21, 300.44°)
OKLaboklab(38.99% -0.0021 -0.1878)
OKLCHoklch(38.99% 0.188 269.4)
XYZxyz(8.6893, 5.2430, 37.1058)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2230A7 #A79922
analogous
#2273A7 #2230A7 #5722A7
triadic
#2230A7 #A72230 #30A722
tetradic
#2230A7 #A72273 #A79922 #22A757
square
#2230A7 #A72273 #A79922 #22A757
split-complementary
#2230A7 #A75722 #73A722
monochromatic
#0D1341 #182174 #2230A7 #3142D5 #6471DF

Accessibility & contrast

On white

10.25
#2230A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2230A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2230A7
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2230A7#FFFFFF#000000##FFFFFF
##2230A71.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2230a7;
/* rgb */ color: rgb(34, 48, 167);
/* oklch */ color: oklch(39.0% 0.188 269.4);
Tailwind
colors: {
  custom: {
    50: '#7569c2',
    500: '#2230a7',
    950: '#000000',
  },
}
SCSS
$custom: #2230a7;
$custom-light: #7569c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2230a7",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 233.684,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38988,
    "c": 0.18782,
    "h": 269.4
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#2230A7
secondary
#C5BA60
accent
#D73FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2230A7

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

Preview Lab → · Contrast checker → · Palette generator →

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