#234F98#234F98

#234F98 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.8% C 0.129 H 260.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#234F98
RGBrgb(35, 79, 152)
HSLhsl(217, 63%, 37%)
HSVhsv(217, 77%, 60%)
CMYKcmyk(77%, 48%, 0%, 40.4%)
CIE-LABlab(34.43, 11.84, -44.35)
CIE-LCHlch(34.43, 45.90, 284.94°)
OKLaboklab(43.85% -0.0225 -0.1273)
OKLCHoklch(43.85% 0.129 260)
XYZxyz(9.1546, 8.2153, 30.8029)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F98 #986C23
analogous
#238A98 #234F98 #322398
triadic
#234F98 #98234F #4F9823
tetradic
#234F98 #98238A #986C23 #239832
square
#234F98 #98238A #986C23 #239832
split-complementary
#234F98 #983223 #8A9823
monochromatic
#0C1B35 #183566 #234F98 #2E69CA #5C8BD9

Accessibility & contrast

On white

7.94
#234F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#234F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234F98
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F98#FFFFFF#000000##FFFFFF
##234F981.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579B
Deuteranopia (green-blind)
#064C97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #234f98;
/* rgb */ color: rgb(35, 79, 152);
/* oklch */ color: oklch(43.8% 0.129 260.0);
Tailwind
colors: {
  custom: {
    50: '#6f7fb7',
    500: '#234f98',
    950: '#000000',
  },
}
SCSS
$custom: #234f98;
$custom-light: #6f7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#234f98",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 217.436,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43848,
    "c": 0.12926,
    "h": 260
  },
  "luminance": 0.08216
}

Semantic roles & 50–950 ramp

primary
#234F98
secondary
#BE9859
accent
#A842E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #234F98

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

Preview Lab → · Contrast checker → · Palette generator →

#234F98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva