#2438B1#2438B1

#2438B1 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.191 H 268.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2438B1
RGBrgb(36, 56, 177)
HSLhsl(231, 66%, 42%)
HSVhsv(231, 80%, 69%)
CMYKcmyk(79.7%, 68.4%, 0%, 30.6%)
CIE-LABlab(30.34, 36.87, -66.02)
CIE-LCHlch(30.34, 75.62, 299.19°)
OKLaboklab(41.43% -0.005 -0.1912)
OKLCHoklch(41.43% 0.191 268.5)
XYZxyz(10.0748, 6.3766, 42.2863)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2438B1 #B19D24
analogous
#247FB1 #2438B1 #5624B1
triadic
#2438B1 #B12438 #38B124
tetradic
#2438B1 #B1247F #B19D24 #24B156
square
#2438B1 #B1247F #B19D24 #24B156
split-complementary
#2438B1 #B15624 #7FB124
monochromatic
#0F184B #1A287E #2438B1 #3B51D7 #6E7EE1

Accessibility & contrast

On white

9.23
#2438B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2438B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2438B1
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2438B1#FFFFFF#000000##FFFFFF
##2438B11.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2438b1;
/* rgb */ color: rgb(36, 56, 177);
/* oklch */ color: oklch(41.4% 0.191 268.5);
Tailwind
colors: {
  custom: {
    50: '#786fc9',
    500: '#2438b1',
    950: '#000000',
  },
}
SCSS
$custom: #2438b1;
$custom-light: #786fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2438b1",
  "rgb": {
    "r": 36,
    "g": 56,
    "b": 177
  },
  "hsl": {
    "h": 231.489,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41431,
    "c": 0.19124,
    "h": 268.5
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#2438B1
secondary
#C8BA69
accent
#D13FE9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2438B1

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

Preview Lab → · Contrast checker → · Palette generator →

#2438B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva