#234398#234398

#234398 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.145 H 265.0°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#234398
RGBrgb(35, 67, 152)
HSLhsl(224, 63%, 37%)
HSVhsv(224, 77%, 60%)
CMYKcmyk(77%, 55.9%, 0%, 40.4%)
CIE-LABlab(30.97, 19.97, -49.94)
CIE-LCHlch(30.97, 53.78, 291.79°)
OKLaboklab(41.21% -0.0126 -0.144)
OKLCHoklch(41.21% 0.145 265)
XYZxyz(8.3658, 6.6377, 30.5400)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234398 #987823
analogous
#237E98 #234398 #3E2398
triadic
#234398 #982343 #439823
tetradic
#234398 #98237E #987823 #23983E
square
#234398 #98237E #987823 #23983E
split-complementary
#234398 #983E23 #7E9823
monochromatic
#0C1735 #182D66 #234398 #2E59CA #5C7ED9

Accessibility & contrast

On white

9.02
#234398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#234398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234398
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234398#FFFFFF#000000##FFFFFF
##2343981.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #234398;
/* rgb */ color: rgb(35, 67, 152);
/* oklch */ color: oklch(41.2% 0.145 265.0);
Tailwind
colors: {
  custom: {
    50: '#7076b7',
    500: '#234398',
    950: '#000000',
  },
}
SCSS
$custom: #234398;
$custom-light: #7076b7;
$custom-dark: #000000;
JSON
{
  "hex": "#234398",
  "rgb": {
    "r": 35,
    "g": 67,
    "b": 152
  },
  "hsl": {
    "h": 223.59,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41211,
    "c": 0.14452,
    "h": 265
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#234398
secondary
#BEA259
accent
#B942E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #234398

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

Preview Lab → · Contrast checker → · Palette generator →

#234398 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva