#23438E#23438E

#23438E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.130 H 264.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#23438E
RGBrgb(35, 67, 142)
HSLhsl(222, 60%, 35%)
HSVhsv(222, 75%, 56%)
CMYKcmyk(75.4%, 52.8%, 0%, 44.3%)
CIE-LABlab(30.22, 16.03, -45.04)
CIE-LCHlch(30.22, 47.81, 289.58°)
OKLaboklab(40.4% -0.0135 -0.1296)
OKLCHoklch(40.4% 0.13 264)
XYZxyz(7.5810, 6.3238, 26.4070)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23438E #8E6E23
analogous
#23798E #23438E #39238E
triadic
#23438E #8E2343 #438E23
tetradic
#23438E #8E2379 #8E6E23 #238E39
square
#23438E #8E2379 #8E6E23 #238E39
split-complementary
#23438E #8E3923 #798E23
monochromatic
#0B152C #172C5D #23438E #2F5ABF #567CD5

Accessibility & contrast

On white

9.27
#23438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#23438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23438E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23438E#FFFFFF#000000##FFFFFF
##23438E1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C91
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #23438e;
/* rgb */ color: rgb(35, 67, 142);
/* oklch */ color: oklch(40.4% 0.130 264.0);
Tailwind
colors: {
  custom: {
    50: '#6e76b0',
    500: '#23438e',
    950: '#000000',
  },
}
SCSS
$custom: #23438e;
$custom-light: #6e76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23438e",
  "rgb": {
    "r": 35,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 222.056,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40403,
    "c": 0.13026,
    "h": 264
  },
  "luminance": 0.06325
}

Semantic roles & 50–950 ramp

primary
#23438E
secondary
#B99B53
accent
#B444E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #23438E

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

Preview Lab → · Contrast checker → · Palette generator →

#23438E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva