#234998#234998

#234998 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.137 H 262.7°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#234998
RGBrgb(35, 73, 152)
HSLhsl(221, 63%, 37%)
HSVhsv(221, 77%, 60%)
CMYKcmyk(77%, 52%, 0%, 40.4%)
CIE-LABlab(32.68, 15.88, -47.17)
CIE-LCHlch(32.68, 49.78, 288.61°)
OKLaboklab(42.51% -0.0174 -0.1357)
OKLCHoklch(42.51% 0.137 262.7)
XYZxyz(8.7411, 7.3884, 30.6651)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234998 #987223
analogous
#238498 #234998 #382398
triadic
#234998 #982349 #499823
tetradic
#234998 #982384 #987223 #239838
square
#234998 #982384 #987223 #239838
split-complementary
#234998 #983823 #849823
monochromatic
#0C1935 #183166 #234998 #2E61CA #5C85D9

Accessibility & contrast

On white

8.48
#234998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#234998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234998
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234998#FFFFFF#000000##FFFFFF
##2349981.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17539B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #234998;
/* rgb */ color: rgb(35, 73, 152);
/* oklch */ color: oklch(42.5% 0.137 262.7);
Tailwind
colors: {
  custom: {
    50: '#707bb7',
    500: '#234998',
    950: '#000000',
  },
}
SCSS
$custom: #234998;
$custom-light: #707bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#234998",
  "rgb": {
    "r": 35,
    "g": 73,
    "b": 152
  },
  "hsl": {
    "h": 220.513,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42507,
    "c": 0.13683,
    "h": 262.7
  },
  "luminance": 0.07389
}

Semantic roles & 50–950 ramp

primary
#234998
secondary
#BE9D59
accent
#B142E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #234998

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

Preview Lab → · Contrast checker → · Palette generator →

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