#1830B4#1830B4

#1830B4 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.0% C 0.206 H 266.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#1830B4
RGBrgb(24, 48, 180)
HSLhsl(231, 76%, 40%)
HSVhsv(231, 87%, 71%)
CMYKcmyk(86.7%, 73.3%, 0%, 29.4%)
CIE-LABlab(28.39, 42.09, -71.05)
CIE-LCHlch(28.39, 82.58, 300.64°)
OKLaboklab(39.98% -0.012 -0.206)
OKLCHoklch(39.98% 0.206 266.7)
XYZxyz(9.6690, 5.6022, 43.7429)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1830B4 #B49C18
analogous
#187EB4 #1830B4 #4E18B4
triadic
#1830B4 #B41830 #30B418
tetradic
#1830B4 #B4187E #B49C18 #18B44E
square
#1830B4 #B4187E #B49C18 #18B44E
split-complementary
#1830B4 #B44E18 #7EB418
monochromatic
#0A1348 #11227E #1830B4 #2744E2 #5D73E9

Accessibility & contrast

On white

9.90
#1830B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1830B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1830B4
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1830B4#FFFFFF#000000##FFFFFF
##1830B41.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1830b4;
/* rgb */ color: rgb(24, 48, 180);
/* oklch */ color: oklch(40.0% 0.206 266.7);
Tailwind
colors: {
  custom: {
    50: '#7669cc',
    500: '#1830b4',
    950: '#000000',
  },
}
SCSS
$custom: #1830b4;
$custom-light: #7669cc;
$custom-dark: #000000;
JSON
{
  "hex": "#1830b4",
  "rgb": {
    "r": 24,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 230.769,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.3998,
    "c": 0.20637,
    "h": 266.7
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#1830B4
secondary
#CDBC5B
accent
#D635F3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #1830B4

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

Preview Lab → · Contrast checker → · Palette generator →

#1830B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva