#233F71#233F71

#233F71 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.093 H 261.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#233F71
RGBrgb(35, 63, 113)
HSLhsl(218, 53%, 29%)
HSVhsv(218, 69%, 44%)
CMYKcmyk(69%, 44.2%, 0%, 55.7%)
CIE-LABlab(27.03, 7.34, -32.05)
CIE-LCHlch(27.03, 32.87, 282.90°)
OKLaboklab(37.33% -0.0143 -0.0914)
OKLCHoklch(37.33% 0.093 261.1)
XYZxyz(5.4502, 5.1041, 16.3175)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F71 #715523
analogous
#236671 #233F71 #2E2371
triadic
#233F71 #71233F #3F7123
tetradic
#233F71 #712366 #715523 #23712E
square
#233F71 #712366 #715523 #23712E
split-complementary
#233F71 #712E23 #667123
monochromatic
#070D17 #152542 #233F71 #3159A0 #4875C6

Accessibility & contrast

On white

10.39
#233F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#233F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F71
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F71#FFFFFF#000000##FFFFFF
##233F711.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#1C3D70
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #233f71;
/* rgb */ color: rgb(35, 63, 113);
/* oklch */ color: oklch(37.3% 0.093 261.1);
Tailwind
colors: {
  custom: {
    50: '#67739a',
    500: '#233f71',
    950: '#000000',
  },
}
SCSS
$custom: #233f71;
$custom-light: #67739a;
$custom-dark: #000000;
JSON
{
  "hex": "#233f71",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 113
  },
  "hsl": {
    "h": 218.462,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37325,
    "c": 0.09253,
    "h": 261.1
  },
  "luminance": 0.05105
}

Semantic roles & 50–950 ramp

primary
#233F71
secondary
#A4844C
accent
#A84CDC
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #233F71

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

Preview Lab → · Contrast checker → · Palette generator →

#233F71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva