#2438B0#2438B0

#2438B0 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.190 H 268.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2438B0
RGBrgb(36, 56, 176)
HSLhsl(231, 66%, 42%)
HSVhsv(231, 80%, 69%)
CMYKcmyk(79.5%, 68.2%, 0%, 31%)
CIE-LABlab(30.25, 36.51, -65.58)
CIE-LCHlch(30.25, 75.06, 299.11°)
OKLaboklab(41.33% -0.0049 -0.1899)
OKLCHoklch(41.33% 0.19 268.5)
XYZxyz(9.9755, 6.3369, 41.7633)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2438B0 #B09C24
analogous
#247EB0 #2438B0 #5624B0
triadic
#2438B0 #B02438 #38B024
tetradic
#2438B0 #B0247E #B09C24 #24B056
square
#2438B0 #B0247E #B09C24 #24B056
split-complementary
#2438B0 #B05624 #7EB024
monochromatic
#0F184A #1A287D #2438B0 #3A51D7 #6D7EE1

Accessibility & contrast

On white

9.26
#2438B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2438B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2438B0
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2438B0#FFFFFF#000000##FFFFFF
##2438B01.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0041AE
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2438b0;
/* rgb */ color: rgb(36, 56, 176);
/* oklch */ color: oklch(41.3% 0.190 268.5);
Tailwind
colors: {
  custom: {
    50: '#776fc9',
    500: '#2438b0',
    950: '#000000',
  },
}
SCSS
$custom: #2438b0;
$custom-light: #776fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2438b0",
  "rgb": {
    "r": 36,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 231.429,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41331,
    "c": 0.18997,
    "h": 268.5
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2438B0

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

Preview Lab → · Contrast checker → · Palette generator →

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