#234F9A#234F9A

#234F9A is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.132 H 260.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#234F9A
RGBrgb(35, 79, 154)
HSLhsl(218, 63%, 37%)
HSVhsv(218, 77%, 60%)
CMYKcmyk(77.3%, 48.7%, 0%, 39.6%)
CIE-LABlab(34.56, 12.62, -45.34)
CIE-LCHlch(34.56, 47.07, 285.56°)
OKLaboklab(44% -0.0221 -0.1302)
OKLCHoklch(44% 0.132 260.4)
XYZxyz(9.3197, 8.2813, 31.6729)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F9A #9A6E23
analogous
#238B9A #234F9A #32239A
triadic
#234F9A #9A234F #4F9A23
tetradic
#234F9A #9A238B #9A6E23 #239A32
square
#234F9A #9A238B #9A6E23 #239A32
split-complementary
#234F9A #9A3223 #8B9A23
monochromatic
#0C1C36 #183568 #234F9A #2E69CC #5D8BDA

Accessibility & contrast

On white

7.91
#234F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#234F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234F9A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F9A#FFFFFF#000000##FFFFFF
##234F9A1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579D
Deuteranopia (green-blind)
#004C98
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #234f9a;
/* rgb */ color: rgb(35, 79, 154);
/* oklch */ color: oklch(44.0% 0.132 260.4);
Tailwind
colors: {
  custom: {
    50: '#707fb8',
    500: '#234f9a',
    950: '#000000',
  },
}
SCSS
$custom: #234f9a;
$custom-light: #707fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#234f9a",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 154
  },
  "hsl": {
    "h": 217.815,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43995,
    "c": 0.13208,
    "h": 260.4
  },
  "luminance": 0.08282
}

Semantic roles & 50–950 ramp

primary
#234F9A
secondary
#BF9A5A
accent
#A942E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #234F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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