#2438AF#2438AF

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

Color values

HEX#2438AF
RGBrgb(36, 56, 175)
HSLhsl(231, 66%, 41%)
HSVhsv(231, 79%, 69%)
CMYKcmyk(79.4%, 68%, 0%, 31.4%)
CIE-LABlab(30.15, 36.14, -65.14)
CIE-LCHlch(30.15, 74.50, 299.03°)
OKLaboklab(41.23% -0.0048 -0.1886)
OKLCHoklch(41.23% 0.189 268.5)
XYZxyz(9.8769, 6.2974, 41.2441)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2438AF #AF9B24
analogous
#247EAF #2438AF #5624AF
triadic
#2438AF #AF2438 #38AF24
tetradic
#2438AF #AF247E #AF9B24 #24AF56
square
#2438AF #AF247E #AF9B24 #24AF56
split-complementary
#2438AF #AF5624 #7EAF24
monochromatic
#0F1849 #1A287C #2438AF #3A50D6 #6D7DE1

Accessibility & contrast

On white

9.29
#2438AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2438AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2438AF
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2438AF#FFFFFF#000000##FFFFFF
##2438AF1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2438af;
/* rgb */ color: rgb(36, 56, 175);
/* oklch */ color: oklch(41.2% 0.189 268.5);
Tailwind
colors: {
  custom: {
    50: '#776fc8',
    500: '#2438af',
    950: '#000000',
  },
}
SCSS
$custom: #2438af;
$custom-light: #776fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2438af",
  "rgb": {
    "r": 36,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 231.367,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41232,
    "c": 0.18869,
    "h": 268.5
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#2438AF
secondary
#C7B968
accent
#D03FE9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2438AF

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

Preview Lab → · Contrast checker → · Palette generator →

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