#1833B4#1833B4

#1833B4 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.5% C 0.203 H 266.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#1833B4
RGBrgb(24, 51, 180)
HSLhsl(230, 76%, 40%)
HSVhsv(230, 87%, 71%)
CMYKcmyk(86.7%, 71.7%, 0%, 29.4%)
CIE-LABlab(29.05, 40.26, -69.96)
CIE-LCHlch(29.05, 80.72, 299.92°)
OKLaboklab(40.46% -0.0128 -0.2029)
OKLCHoklch(40.46% 0.203 266.4)
XYZxyz(9.7959, 5.8559, 43.7852)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1833B4 #B49918
analogous
#1881B4 #1833B4 #4B18B4
triadic
#1833B4 #B41833 #33B418
tetradic
#1833B4 #B41881 #B49918 #18B44B
square
#1833B4 #B41881 #B49918 #18B44B
split-complementary
#1833B4 #B44B18 #81B418
monochromatic
#0A1448 #11247E #1833B4 #2747E2 #5D75E9

Accessibility & contrast

On white

9.67
#1833B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1833B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1833B4
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1833B4#FFFFFF#000000##FFFFFF
##1833B41.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1833b4;
/* rgb */ color: rgb(24, 51, 180);
/* oklch */ color: oklch(40.5% 0.203 266.4);
Tailwind
colors: {
  custom: {
    50: '#766bcc',
    500: '#1833b4',
    950: '#000000',
  },
}
SCSS
$custom: #1833b4;
$custom-light: #766bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#1833b4",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 180
  },
  "hsl": {
    "h": 229.615,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.40455,
    "c": 0.20327,
    "h": 266.4
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#1833B4
secondary
#CDB95B
accent
#D235F3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0A0614
muted
#7C7A82

Preview Lab

Preview with #1833B4

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

Preview Lab → · Contrast checker → · Palette generator →

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